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'