Files
fresh-home/components/binary_sensors/bayesian_window_open_hvac.yaml
T
2024-04-14 14:08:56 -04:00

31 lines
779 B
YAML

platform: 'bayesian'
name: 'Window Open HVAC On'
device_class: problem
prior: 0
probability_threshold: 0.6
observations:
- entity_id: 'group.my_exterior_windows'
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'on'
- entity_id: 'group.my_exterior_doors'
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'on'
- entity_id: sensor.hvac_action
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'cooling'
- entity_id: sensor.hvac_action
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'heating'
- entity_id: sensor.hvac_action
prob_given_true: .01
prob_given_false: 0.01
platform: 'state'
to_state: 'idle'