SHARE
TWEET

Untitled

asyscom Mar 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - alias: test
  2.   trigger:
  3.   - platform: time
  4.     #value_template: "{{ states('sensor.time') == (states.input_datetime.only_time_mattino.attributes.timestamp | int | timestamp_custom('%H:%M', False)) }}"
  5.     at: 13:40:00
  6.   action:
  7.   - service: notify.telegram
  8.     data_template:
  9.       title: '*Attenzione Finestre Aperte'
  10.       message: >-
  11.       {{ dict((states|selectattr('entity_id', 'in', state_attr('group.porte_finestre', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(',\n') }}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top