mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
platform: bayesian
|
||||
unique_id: bayesianbinarysensor.garage_occupied
|
||||
name: Garage Occupied
|
||||
device_class: occupancy
|
||||
prior: 0.4
|
||||
probability_threshold: 0.6
|
||||
observations:
|
||||
|
||||
- entity_id: group.garage_motion
|
||||
prob_given_true: .8
|
||||
prob_given_false: 0.01
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: group.garage_motion
|
||||
prob_given_true: .5
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'off'
|
||||
|
||||
- entity_id: cover.garage_door
|
||||
prob_given_true: .60
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'open'
|
||||
|
||||
- entity_id: cover.garage_door
|
||||
prob_given_true: .50
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'closed'
|
||||
|
||||
- entity_id: binary_sensor.inner_garage_door
|
||||
prob_given_true: .75
|
||||
prob_given_false: 0.01
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.inner_garage_door
|
||||
prob_given_true: .5
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'off'
|
||||
|
||||
- entity_id: binary_sensor.outer_garage_door
|
||||
prob_given_true: .75
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.outer_garage_door
|
||||
prob_given_true: 0.5
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'off'
|
||||
|
||||
- entity_id: binary_sensor.workshop_person_occupancy
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.workshop_person_occupancy
|
||||
prob_given_true: 0.5
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'off'
|
||||
Reference in New Issue
Block a user