1
0
mirror of https://github.com/Adam-Ant/home-assistant synced 2024-11-12 14:56:21 +00:00
home-assistant/sensors/alarm.yaml
2016-11-30 00:04:27 +00:00

7 lines
221 B
YAML

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