The hacky, not-reccomended, may break in future solution would be this
platform: bayesian
prior: 0.6
name: occupancy_livingroom_0
probability_threshold: 0.87
observations:
- entity_id: "input_boolean.occupancy_override_livingroom_0"
prob_given_true: 0.9
prob_given_false: 0.1
platform: "state"
to_state: "on"
- entity_id: "input_boolean.occupancy_override_livingroom_0"
prob_given_true: 0.5
prob_given_false: 0.5
platform: "state"
to_state: "off"
- entity_id: "binary_sensor.pir_sensor_livingroom_0"
prob_given_true: 0.45
prob_given_false: 0.2
platform: "state"
to_state: "on"
- entity_id: "binary_sensor.pir_sensor_livingroom_0"
prob_given_true: 0.5
prob_given_false: 0.5
platform: "state"
to_state: "off"
- entity_id: "binary_sensor.dop_sensor_livingroom_0"
prob_given_true: 0.45
prob_given_false: 0.2
platform: "state"
to_state: "on"
- entity_id: "binary_sensor.dop_sensor_livingroom_0"
prob_given_true: 0.5
prob_given_false: 0.5
platform: "state"
to_state: "off"
platform: oldbayesian
prior: 0.6
name: home_precense_ben
probability_threshold: 0.85
observations:
- entity_id: "device_tracker.ben"
prob_given_true: 0.9
prob_given_false: 0.2
platform: "state"
to_state: "home"
- entity_id: "device_tracker.ben"
prob_given_true: 0.5
prob_given_false: 0.5
platform: "state"
to_state: "not_home"
- entity_id: "input_boolean.home_precense_homekit_ben"
prob_given_true: 0.9
prob_given_false: 0.2
platform: "state"
to_state: "on"
- entity_id: "input_boolean.home_precense_homekit_ben"
prob_given_true: 0.5
prob_given_false: 0.5
platform: "state"
to_state: "off"
I'm sorry, but don't see the difference to what I have now/is broken?