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

7 lines
221 B
YAML
Raw Normal View History

2016-11-29 23:48:17 +00:00
- platform: template
sensors:
alarm_time:
2016-11-30 00:04:27 +00:00
friendly_name: 'Alarm Time'
2016-11-29 23:48:17 +00:00
value_template: '{{ "%0.02d:%0.02d" | format(states("input_slider.alarmhour") | int, states("input_slider.alarmminutes") | int) }}'