mirror of
https://github.com/Adam-Ant/home-assistant
synced 2025-06-24 15:20:55 +00:00
Initial Alarm Clock Implementation
This commit is contained in:
6
sensors/alarm.yaml
Normal file
6
sensors/alarm.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
- 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) }}'
|
||||
|
Reference in New Issue
Block a user