Hi,
Can we create this kind of helpers from UI soon? Thanks
template:
- trigger:
- trigger: state
entity_id: switch.kitchen
from: 0
attribute: current_consumption
sensor:
- name: kitchen_is_on
state: "{{ now().timestamp() }}"
- trigger:
- trigger: state
entity_id: switch.pool
from: "off"
to: "on"
sensor:
- name: pool_is_on
state: "{{ now().timestamp() }}"