view, binary sensor, and sensor fixes

This commit is contained in:
CeeWeasel
2025-07-13 19:36:49 -04:00
parent 52a52c823c
commit f608ec2827
9 changed files with 89 additions and 223 deletions
@@ -1,61 +0,0 @@
platform: 'bayesian'
name: 'Bridget 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
@@ -1,61 +0,0 @@
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
@@ -1,4 +0,0 @@
platform: tod
name: Business Hours
after: '07:45'
before: '16:45'
@@ -1,4 +0,0 @@
platform: tod
name: Childcare Hours
after: '07:00'
before: '16:30'
@@ -1,4 +0,0 @@
platform: tod
name: Childcare NonSchool Hours
after: '08:00'
before: '16:30'