Files
fresh-home/components/binary_sensors/bayesian_window_open_hvac.yaml
2025-12-06 09:12:49 -05:00

32 lines
785 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: "binary_sensor.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"