Skip to content

Commit

Permalink
merge alarm clock into package
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Oct 22, 2019
1 parent 68f942b commit 48f0316
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 22 deletions.
2 changes: 0 additions & 2 deletions customize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ sensor.current_commit_id:
icon: mdi:github-circle
sensor.current_commit_name:
icon: mdi:github-circle
sensor.alarm_time:
icon: mdi:clock
switch.large_ventilator:
friendly_name: "Großer Ventilator"
icon: mdi:fan
Expand Down
8 changes: 0 additions & 8 deletions input_boolean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@
icon: mdi:lightbulb
heading_home_notifier_user_one:
icon: mdi:telegram
alarmweekday:
name: Nur an Arbeitstagen
icon: mdi:calendar
wakemeup:
name: Weck mich
icon: mdi:alarm-check
radiowakeup:
name: Radio
dishwasher:
name: Spühlmaschine
washingmachine:
Expand Down
5 changes: 0 additions & 5 deletions input_datetime.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions input_number.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ leave_time_offset_user_two:
min: 0
max: 60
step: 5
alarm_natural_wakeup_fade_in:
name: Fade-In Dauer
icon: mdi:theme-light-dark
min: 0
max: 30
step: 5
turn_small_fan_on_when_hot_threshold:
name: Ventilator - Temperatur Grenze
icon: mdi:temperature-celsius
Expand Down
28 changes: 27 additions & 1 deletion packages/alarm_clock.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
---
input_datetime:
alarm:
name: Wecker
has_date: true
has_time: true
input_boolean:
alarmweekday:
name: Nur an Arbeitstagen
icon: mdi:calendar
wakemeup:
name: Weck mich
icon: mdi:alarm-check
radiowakeup:
name: Radio
input_number:
alarm_natural_wakeup_fade_in:
name: Fade-In Dauer
icon: mdi:theme-light-dark
min: 0
max: 30
step: 5
sensor:
- platform: template
sensors:
Expand All @@ -12,4 +33,9 @@ sensor:
- sensor.alarm_kevin
- sensor.alarm_sina
- input_boolean.user_one_home
- input_boolean.user_two_home
- input_boolean.user_two_home

homeassistant:
customize:
sensor.alarm_time:
icon: mdi:clock

0 comments on commit 48f0316

Please sign in to comment.