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

33 lines
777 B
YAML

# platform: bayesian
# unique_id: bayesianbinarysensor.front_room_occupied
# name: Front Room Occupied
# device_class: occupancy
# prior: 0.5
# probability_threshold: 0.75
# observations:
# - entity_id: binary_sensor.front_room_motion
# prob_given_true: .75
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
# - entity_id: media_player.front_room_tv
# prob_given_true: .9
# prob_given_false: 0.01
# platform: state
# to_state: 'playing'
# - entity_id: media_player.front_room_tv
# prob_given_true: .5
# prob_given_false: 0.01
# platform: state
# to_state: 'home'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.01
# to_state: 'off'