mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Setting up Emmetts Room
This commit is contained in:
@@ -23,3 +23,9 @@ observations:
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.01
|
||||
to_state: 'on'
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to_state: "on"
|
||||
prob_given_true: .67
|
||||
prob_given_false: 0.0
|
||||
|
||||
@@ -23,12 +23,6 @@ observations:
|
||||
prob_given_true: .67
|
||||
prob_given_false: 0.0
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
to_state: "on"
|
||||
prob_given_true: .67
|
||||
prob_given_false: 0.0
|
||||
|
||||
- entity_id: input_boolean.home_occupied
|
||||
platform: state
|
||||
prob_given_true: .92
|
||||
|
||||
@@ -695,14 +695,14 @@ sensors:
|
||||
emmetts_bed:
|
||||
unique_id: templatebinarysensor.emmetts_bed
|
||||
friendly_name: Emmett's Bed
|
||||
value_template: "{{ states('binary_sensor.black_bed_occupied') }}"
|
||||
icon_template: "{{ iif(is_state('binary_sensor.black_bed_occupied','on'),'mdi:bed','mdi:bed-empty','mdi:bed-outline')}}"
|
||||
value_template: "{{ states('binary_sensor.white_bed_occupied') }}"
|
||||
icon_template: "{{ iif(is_state('binary_sensor.white_bed_occupied','on'),'mdi:bed','mdi:bed-empty','mdi:bed-outline')}}"
|
||||
|
||||
bridgets_bed:
|
||||
unique_id: templatebinarysensor.bridgets_bed
|
||||
friendly_name: Bridget's Bed
|
||||
value_template: "{{ states('binary_sensor.bed_presence_2d14a4_bed_occupied_either') }}"
|
||||
icon_template: "{{ iif(is_state('binary_sensor.bed_presence_2d14a4_bed_occupied_either','on'),'mdi:bed','mdi:bed-empty','mdi:bed-outline')}}"
|
||||
value_template: "{{ states('binary_sensor.black_bed_occupied') }}"
|
||||
icon_template: "{{ iif(is_state('binary_sensor.black_bed_occupied','on'),'mdi:bed','mdi:bed-empty','mdi:bed-outline')}}"
|
||||
|
||||
check_mail:
|
||||
unique_id: templatebinarysensor.check_mail
|
||||
|
||||
Reference in New Issue
Block a user