Files
fresh-home/components/binary_sensors/rooms/master_bedroom_occupied.yaml
T

31 lines
761 B
YAML

platform: bayesian
unique_id: bayesianbinarysensor.master_bedroom_occupied
name: Master Bedroom Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.75
observations:
- entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
platform: state
prob_given_true: .83
prob_given_false: 0.0
to_state: 'on'
- entity_id: binary_sensor.master_bedroom_person_occupancy
prob_given_true: .4
prob_given_false: 0.0
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.67
to_state: 'on'
- entity_id: group.master_bedroom_motion
platform: state
prob_given_true: .5
prob_given_false: 0.0
to_state: 'on'