1
0
mirror of https://github.com/Adam-Ant/home-assistant synced 2024-11-14 15:36:22 +00:00
home-assistant/sensors/alarm.yaml
2016-11-29 23:51:29 +00:00

7 lines
215 B
YAML

- platform: template
sensors:
alarm_time:
friendly_name: 'Time'
value_template: '{{ "%0.02d:%0.02d" | format(states("input_slider.alarmhour") | int, states("input_slider.alarmminutes") | int) }}'