mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
31 lines
779 B
YAML
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' |