Home Assistant Git Exporter
parent
47ee0491ab
commit
d2110b553d
|
@ -62,10 +62,10 @@ automation:
|
||||||
attribute: dir_of_travel
|
attribute: dir_of_travel
|
||||||
state: towards
|
state: towards
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.bos_iphone_activity
|
entity_id: sensor.bos_iphone_hass_activity
|
||||||
state: Automotive
|
state: Automotive
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.bos_iphone_activity
|
entity_id: sensor.bos_iphone_hass_activity
|
||||||
attribute: Confidence
|
attribute: Confidence
|
||||||
state: High
|
state: High
|
||||||
action:
|
action:
|
||||||
|
|
|
@ -28,7 +28,30 @@ automation:
|
||||||
area_id: bo_s_office
|
area_id: bo_s_office
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
target:
|
target:
|
||||||
area_id: bo_s_office
|
entity_id: switch.bo_s_office_plug
|
||||||
|
|
||||||
|
- id: 2804db52f34458004191f589ed3453dd6f9e1f45
|
||||||
|
alias: Warm up Bo's office heater
|
||||||
|
trigger:
|
||||||
|
- platform: template
|
||||||
|
value_template: |
|
||||||
|
{{ is_state('binary_sensor.bo_s_office_door_contact', 'off')
|
||||||
|
and (is_state('binary_sensor.bo_s_office_motion', 'on')
|
||||||
|
or is_state('binary_sensor.bo_s_office_is_occupied', 'on'))
|
||||||
|
and states('sensor.ble_temperature_bos_office_a4c1380f0b98') | float < 19 }}
|
||||||
|
variables:
|
||||||
|
service: switch.turn_on
|
||||||
|
- platform: template
|
||||||
|
value_template: |
|
||||||
|
{{ is_state('binary_sensor.bo_s_office_door_contact', 'on')
|
||||||
|
or (is_state('binary_sensor.bo_s_office_motion', 'off') and is_state('binary_sensor.bo_s_office_is_occupied', 'off'))
|
||||||
|
or states('sensor.ble_temperature_bos_office_a4c1380f0b98') | float > 20 }}
|
||||||
|
variables:
|
||||||
|
service: switch.turn_off
|
||||||
|
action:
|
||||||
|
- service: "{{ service }}"
|
||||||
|
target:
|
||||||
|
entity_id: switch.bos_office_heater
|
||||||
|
|
||||||
- id: 8a32a559bfcf43ddfd6ec03a8071eecfbf8161bb
|
- id: 8a32a559bfcf43ddfd6ec03a8071eecfbf8161bb
|
||||||
alias: Turn off Bo's office if no motion for a while
|
alias: Turn off Bo's office if no motion for a while
|
||||||
|
|
|
@ -782,3 +782,23 @@ config:
|
||||||
path: doors
|
path: doors
|
||||||
theme: Backend-selected
|
theme: Backend-selected
|
||||||
title: Doors
|
title: Doors
|
||||||
|
- badges: []
|
||||||
|
cards:
|
||||||
|
- entities:
|
||||||
|
- sensor.ble_temperature_shower_a4c13865903a
|
||||||
|
- sensor.ble_temperature_bathroom_a4c138f6b8cb
|
||||||
|
- sensor.bathroom_sensor_temperature
|
||||||
|
- sensor.ble_humidity_shower_a4c13865903a
|
||||||
|
- sensor.ble_humidity_bathroom_a4c138f6b8cb
|
||||||
|
type: entities
|
||||||
|
- entities:
|
||||||
|
- sensor.ble_temperature_shower_a4c13865903a
|
||||||
|
- sensor.ble_temperature_bathroom_a4c138f6b8cb
|
||||||
|
- sensor.bathroom_sensor_temperature
|
||||||
|
- sensor.ble_humidity_shower_a4c13865903a
|
||||||
|
- sensor.ble_humidity_bathroom_a4c138f6b8cb
|
||||||
|
type: history-graph
|
||||||
|
icon: mdi:shower
|
||||||
|
path: bathroom
|
||||||
|
theme: Backend-selected
|
||||||
|
title: Bathroom
|
||||||
|
|
Loading…
Reference in New Issue