mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
spelling mistakes mostly
This commit is contained in:
@@ -11,15 +11,15 @@ notify:
|
||||
|
||||
template:
|
||||
- trigger:
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
- platform: state
|
||||
entity_id: sensor.dreambox_lastactive
|
||||
- platform: state
|
||||
entity_id: sensor.dreambox_lastactive
|
||||
|
||||
binary_sensor:
|
||||
- name: DreamBox Recently Active
|
||||
unique_id: templatebinarysensor.dreambox_recently_active
|
||||
icon: mdi:desktop-tower-monitor
|
||||
#availability: "{{ states('sensor.dreambox_lastactive') not in ['unkown', 'unavailable'] }}"
|
||||
state: " {{ iif( states('sensor.dreambox_lastactive') == 'unknown' or is_state('sensor.dreambox_lastactive', 'unavailable'), false, as_timestamp(now()) - as_timestamp(states('sensor.dreambox_lastactive'),0) < 180 or is_state('sensor.dreambox_usernotification','Busy'))}}"
|
||||
- name: DreamBox Recently Active
|
||||
unique_id: templatebinarysensor.dreambox_recently_active
|
||||
icon: mdi:desktop-tower-monitor
|
||||
#availability: "{{ states('sensor.dreambox_lastactive') not in ['unknown', 'unavailable'] }}"
|
||||
state: " {{ iif( states('sensor.dreambox_lastactive') == 'unknown' or is_state('sensor.dreambox_lastactive', 'unavailable'), false, as_timestamp(now()) - as_timestamp(states('sensor.dreambox_lastactive'),0) < 180 or is_state('sensor.dreambox_usernotification','Busy'))}}"
|
||||
|
||||
Reference in New Issue
Block a user