diff --git a/atom.xml b/atom.xml
index 4dffb958e4..264d209745 100644
--- a/atom.xml
+++ b/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml
index ba37e594f2..74a56fca89 100644
--- a/blog/categories/announcements/atom.xml
+++ b/blog/categories/announcements/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml
index d8cf23f517..8b39264110 100644
--- a/blog/categories/community/atom.xml
+++ b/blog/categories/community/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml
index 24e41345cc..30869d6cb0 100644
--- a/blog/categories/device-tracking/atom.xml
+++ b/blog/categories/device-tracking/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml
index ef21edb763..f2313a330c 100644
--- a/blog/categories/esp8266/atom.xml
+++ b/blog/categories/esp8266/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml
index 8c1b546c5d..4b0ba2486b 100644
--- a/blog/categories/how-to/atom.xml
+++ b/blog/categories/how-to/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml
index 022b2363bd..f34fe19966 100644
--- a/blog/categories/ibeacons/atom.xml
+++ b/blog/categories/ibeacons/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml
index 29d346c9b2..5fe1384fcb 100644
--- a/blog/categories/internet-of-things/atom.xml
+++ b/blog/categories/internet-of-things/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml
index 3b014ab88f..d08cccbb32 100644
--- a/blog/categories/iot-data/atom.xml
+++ b/blog/categories/iot-data/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/media/atom.xml b/blog/categories/media/atom.xml
index 86d30ade60..2c4ff3c2b1 100644
--- a/blog/categories/media/atom.xml
+++ b/blog/categories/media/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml
index 59e196125d..9bb86b4237 100644
--- a/blog/categories/merchandise/atom.xml
+++ b/blog/categories/merchandise/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml
index 280922eab6..16dfce17ee 100644
--- a/blog/categories/micropython/atom.xml
+++ b/blog/categories/micropython/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml
index 2037e77c8f..08b158feef 100644
--- a/blog/categories/mqtt/atom.xml
+++ b/blog/categories/mqtt/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml
index 7ef555d01f..c025181947 100644
--- a/blog/categories/organisation/atom.xml
+++ b/blog/categories/organisation/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml
index c93dcdec4c..9687b10982 100644
--- a/blog/categories/owntracks/atom.xml
+++ b/blog/categories/owntracks/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml
index e38871b177..2f923bebdd 100644
--- a/blog/categories/presence-detection/atom.xml
+++ b/blog/categories/presence-detection/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml
index 7af9eb5e1a..a3d938d416 100644
--- a/blog/categories/public-service-announcement/atom.xml
+++ b/blog/categories/public-service-announcement/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml
index 44aac69ec1..3b05b62639 100644
--- a/blog/categories/release-notes/atom.xml
+++ b/blog/categories/release-notes/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml
index 3459085bd5..85c796aeb3 100644
--- a/blog/categories/survey/atom.xml
+++ b/blog/categories/survey/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml
index 282fcb52f3..f28f9f6710 100644
--- a/blog/categories/talks/atom.xml
+++ b/blog/categories/talks/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml
index 105cb3de4f..a752d5043e 100644
--- a/blog/categories/technology/atom.xml
+++ b/blog/categories/technology/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml
index 8d8b042d47..d806f01df0 100644
--- a/blog/categories/user-stories/atom.xml
+++ b/blog/categories/user-stories/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml
index 99b8c1e6a8..6eb0037502 100644
--- a/blog/categories/video/atom.xml
+++ b/blog/categories/video/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml
index ddf196dcfb..964c75dd64 100644
--- a/blog/categories/website/atom.xml
+++ b/blog/categories/website/atom.xml
@@ -4,7 +4,7 @@
- 2017-10-15T21:49:53+00:00
+ 2017-10-16T06:35:13+00:00
https://home-assistant.io/
diff --git a/components/binary_sensor.bayesian/index.html b/components/binary_sensor.bayesian/index.html
index 4dd750e933..c46dc74198 100644
--- a/components/binary_sensor.bayesian/index.html
+++ b/components/binary_sensor.bayesian/index.html
@@ -97,8 +97,8 @@
entity_id (Required ): Name of the entity to monitor.
prob_given_true (Required ): The probability of the observation occurring, given the event is true
.
prob_given_false (Optional ): The probability of the observation occurring, given the event is false
can be set as well. If prob_given_false
is not set, it will default to 1 - prob_given_true
.
- platform (Required ): The only supported observation platforms are state
and numeric_state
, which are modeled after their corresponding triggers for automations.
- to_state (Required ): The target start.
+ platform (Required ): The only supported observation platforms are state
and numeric_state
, which are modeled after their corresponding triggers for automations, requiring before
and/or after
instead of to_state
.
+ to_state (Required ): The target state.
probability_threshold (Optional ): The probability at which the sensor should trigger to on
.
@@ -132,6 +132,19 @@
to_state : ' below_horizon'
+# Example configuration.yaml entry
+binary_sensor :
+ name : ' Heat On'
+ platform : ' bayesian'
+ prior : 0.2
+ probability_threshold : 0.9
+ observations :
+ - entity_id : ' sensor.outside_air_temperature_fahrenheit'
+ prob_given_true : 0.95
+ platform : ' numeric_state'
+ below : 50
+
+