mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
platform: 'bayesian'
|
||||
name: 'Emmett Home'
|
||||
device_class: presence
|
||||
prior: 0.5
|
||||
probability_threshold: 0.7
|
||||
observations:
|
||||
- entity_id: 'person.clint'
|
||||
prob_given_true: .99
|
||||
prob_given_false: .99
|
||||
platform: 'state'
|
||||
to_state: 'home'
|
||||
|
||||
- entity_id: 'calendar.my_custody'
|
||||
prob_given_true: .99
|
||||
prob_given_false: .5
|
||||
platform: 'state'
|
||||
to_state: 'on'
|
||||
|
||||
|
||||
- entity_id: 'input_boolean.clint_work_from_home'
|
||||
prob_given_true: .01
|
||||
prob_given_false: .33
|
||||
platform: 'state'
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: 'input_select.weaver_kids'
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.01
|
||||
platform: 'state'
|
||||
to_state: 'Home'
|
||||
|
||||
- entity_id: 'input_select.weaver_kids'
|
||||
prob_given_true: .01
|
||||
prob_given_false: 0.99
|
||||
platform: 'state'
|
||||
to_state: 'Away'
|
||||
|
||||
- entity_id: 'input_select.weaver_kids'
|
||||
prob_given_true: .5
|
||||
prob_given_false: 0.5
|
||||
platform: 'state'
|
||||
to_state: 'Auto'
|
||||
|
||||
# # If I am working from home and the 'Weaver Kids' are in automatic mode
|
||||
# - platform: template
|
||||
# value_template: >
|
||||
# {{ is_state('input_boolean.clint_work_from_home', 'on') and is_state('input_select.weaver_kids','Auto') }}
|
||||
# prob_given_true: 0.01
|
||||
# prob_given_false: .99
|
||||
# # If I am working from home and the 'Weaver Kids' are manually set as home
|
||||
# - platform: template
|
||||
# value_template: >
|
||||
# {{ is_state('input_boolean.clint_work_from_home', 'on') and is_state('input_select.weaver_kids','Home') }}
|
||||
# prob_given_true: 0.99
|
||||
# prob_given_false: .01
|
||||
# # If I am working from home and the 'Weaver Kids' are manually set as away
|
||||
# - platform: template
|
||||
# value_template: >
|
||||
# {{ is_state('input_boolean.clint_work_from_home', 'on') and is_state('input_select.weaver_kids','Away') }}
|
||||
# prob_given_true: 0.01
|
||||
# prob_given_false: .99
|
||||
Reference in New Issue
Block a user