Skip to content

Commit 21c585e

Browse files
arsaboofrenck
authored andcommitted
Fixed Bayesian sensor docs and added a missing comma in Arlo docs (home-assistant#3357)
* Fixed Bayesian sensor docs * Added missing comma
1 parent 9441cd8 commit 21c585e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

source/_components/binary_sensor.bayesian.markdown

+3-7
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ ha_release: 0.53
1414
---
1515

1616

17-
The `bayesian` binary sensor platform observes the state from multiple sensors and uses Bayes' rule to estimate the probability that an event has occurred
18-
given the state of the observed sensors. If the estimated posterior probability is above the `probabiliy_threshold`, the value of the sensor is `on`.
19-
Otherwise, the sensor is `off`.
17+
The `bayesian` binary sensor platform observes the state from multiple sensors and uses Bayes' rule to estimate the probability that an event has occurred given the state of the observed sensors. If the estimated posterior probability is above the `probability_threshold`, the sensor is `on` otherwise it is `off`.
2018

21-
This allows for the detection of complex events that may not be readily observable, i.e., cooking, showering, in bed, the start of a morning routine, etc. It
22-
can also be used to gain greater confidence about events that _are_ directly observable, but for which the sensors can be unreliable, i.e., presence.
19+
This allows for the detection of complex events that may not be readily observable, e.g., cooking, showering, in bed, the start of a morning routine, etc. It can also be used to gain greater confidence about events that _are_ directly observable, but for which the sensors can be unreliable, e.g., presence.
2320

2421
To enable the Bayesian sensor, add the following lines to your `configuration.yaml`:
2522

@@ -39,7 +36,7 @@ binary_sensor:
3936
Configuration variables:
4037
4138
- **prior** (*Required*): The prior probability of the event. At any point in time (ignoring all external influences) how likely is this event to occur?
42-
- **observations** array (*Required*): The observations which should influence the likelihood that the given event has occurred.
39+
- **observations** array (*Required*): The observations which should influence the likelihood that the given event has occurred.
4340
- **entity_id** (*Required*): Name of the entity to monitor.
4441
- **prob_given_true** (*Required*): The probability of the observation occurring, given the event is `true`.
4542
- **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`.
@@ -77,4 +74,3 @@ binary_sensor:
7774
platform: 'state'
7875
to_state: 'below_horizon'
7976
```
80-

source/_components/camera.arlo.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ camera:
2828
2929
Configuration variables:
3030
31-
- **ffmpeg_arguments**: (*Optional*): Extra options to pass to ffmpeg, e.g. image quality or video filter options.
31+
- **ffmpeg_arguments**: (*Optional*): Extra options to pass to ffmpeg, e.g., image quality or video filter options.
3232
3333
**Note:** To be able to playback the last capture, it is required to install the `ffmpeg` component. Make sure to follow the steps mentioned at [FFMPEG](https://home-assistant.io/components/ffmpeg/) documentation.

0 commit comments

Comments
 (0)