# platform: bayesian # unique_id: bayesianbinarysensor.great_room_occupied # name: Great Room Occupied # device_class: occupancy # prior: 0.5 # probability_threshold: 0.75 # observations: # - entity_id: binary_sensor.great_room_motion # platform: state # prob_given_true: .9 # prob_given_false: 0.01 # to_state: 'on' # - entity_id: input_boolean.home_occupied # platform: state # prob_given_true: .01 # prob_given_false: 0.01 # to_state: 'off' # - entity_id: media_player.downstairs_roku # platform: state # prob_given_true: .9 # prob_given_false: 0.01 # to_state: 'playing' # - entity_id: media_player.downstairs_roku # platform: state # prob_given_true: .9 # prob_given_false: 0.01 # to_state: 'paused' # - entity_id: media_player.downstairs_roku # platform: state # prob_given_true: .5 # prob_given_false: 0.01 # to_state: 'idle' # - entity_id: binary_sensor.great_room_person_occupancy # prob_given_true: .99 # prob_given_false: 0.01 # platform: state # to_state: 'on'