mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Changes and cleanup
This commit is contained in:
@@ -8,24 +8,18 @@ observations:
|
||||
|
||||
- entity_id: group.computer_area_motion
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.97
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.computer_chair_contact_occupied
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.97
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
# - entity_id: binary_sensor.computer_chair_contact_occupied
|
||||
# prob_given_true: .99
|
||||
# prob_given_false: 0.5
|
||||
# platform: state
|
||||
# to_state: 'on'
|
||||
|
||||
- entity_id: input_boolean.home_occupied
|
||||
platform: state
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.01
|
||||
prob_given_true: .7
|
||||
prob_given_false: 0.1
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.computer_area_person_occupancy
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.97
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
@@ -702,7 +702,7 @@ sensors:
|
||||
unique_id: templatesensor.take_trash_out
|
||||
friendly_name: "Take Trash Out"
|
||||
icon_template: mdi:trash-can
|
||||
value_template: "{{ is_state('calendar.trash_schedule','on') or state_attr('calendar.trash_schedule','offset_reached') and is_state('input_boolean.trash_out','off') }}"
|
||||
value_template: "{{ (is_state('calendar.trash_schedule','on') or state_attr('calendar.trash_schedule','offset_reached')) and is_state('input_boolean.trash_out','off') }}"
|
||||
|
||||
need_salt:
|
||||
unique_id: templatebinarysensor.need_salt
|
||||
@@ -724,13 +724,6 @@ sensors:
|
||||
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')}}"
|
||||
|
||||
should_mow: #
|
||||
unique_id: templatebinarysensor.should_mow
|
||||
friendly_name: Should Mow
|
||||
#value_template: "{{ as_timestamp(states('sensor.chore_mow')) < as_timestamp(now()) }}"
|
||||
value_template: "{{ (( now().month > 3 ) and ( now().month < 9 )) and (as_timestamp(states('sensor.chore_mow')) < as_timestamp(now())) }}"
|
||||
icon_template: mdi:mower-bag
|
||||
|
||||
check_mail:
|
||||
unique_id: templatebinarysensor.check_mail
|
||||
friendly_name: Check Mail
|
||||
|
||||
Reference in New Issue
Block a user