Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- W template.yaml
- - sensor:
- - name: Encje
- icon: mdi:counter
- availability: "{{states != unknown}}"
- state: "{{states | count}}"
- attributes:
- automation: "{{states['automation'] | count}}"
- binary_sensor: "{{states['binary_sensor'] | count}}"
- button: "{{states['button'] | count}}"
- device_tracker: "{{states['device_tracker'] | count}}"
- group: "{{states['group'] | count}}"
- input_boolean: "{{states['input_boolean'] | count}}"
- input_button: "{{states['input_button'] | count}}"
- input_datetime: "{{states['input_datetime'] | count}}"
- input_select: "{{states['input_select'] | count}}"
- input_text: "{{states['input_text'] | count}}"
- light: "{{states['light'] | count}}"
- media_player: "{{states['media_player'] | count}}"
- person: "{{states['person'] | count}}"
- remote: "{{states['remote'] | count}}"
- script: "{{states['script'] | count}}"
- select: "{{states['select'] | count}}"
- sensor: "{{states['sensor'] | count}}"
- sun: "{{states['sun'] | count}}"
- switch: "{{states['switch'] | count}}"
- update: "{{states['update'] | count}}"
- zone: "{{states['zone'] | count}}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement