init home-assistant
This commit is contained in:
1
home-assistant/tests/components/bayesian/__init__.py
Normal file
1
home-assistant/tests/components/bayesian/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
"""Tests for bayesian component."""
|
||||
@@ -0,0 +1,10 @@
|
||||
binary_sensor:
|
||||
- platform: bayesian
|
||||
prior: 0.1
|
||||
observations:
|
||||
- entity_id: "switch.kitchen_lights"
|
||||
prob_given_true: 0.6
|
||||
prob_given_false: 0.2
|
||||
platform: "state"
|
||||
to_state: "on"
|
||||
name: test2
|
||||
1374
home-assistant/tests/components/bayesian/test_binary_sensor.py
Normal file
1374
home-assistant/tests/components/bayesian/test_binary_sensor.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user