Closed stast1 closed 4 years ago
See screenshot:
- type: 'custom:template-entity-row' icon: 'mdi:timer' name: Котел работал сегодня state: "{{ (now().strftime('%s') | int + states('sensor.boiler_on_today') | float * 3600 - now().strftime('%s') | int) | timestamp_custom('%H:%M', false) }}" - type: 'custom:template-entity-row' icon: 'mdi:timer' name: Кондиционер работал сегодня state: "{{ (now().strftime('%s') | int + states('sensor.ac_on_today') | float * 3600 - now().strftime('%s') | int) | timestamp_custom('%H:%M', false) }}"
See screenshot:![image](https://user-images.githubusercontent.com/48147949/76510466-55f25300-645a-11ea-8c9c-c5b4f3a86cfd.png)