From 48f031656b41157f34e496afb001218008caeaf4 Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Tue, 22 Oct 2019 13:43:37 +0200 Subject: [PATCH] merge alarm clock into package --- customize.yaml | 2 -- input_boolean.yaml | 8 -------- input_datetime.yaml | 5 ----- input_number.yaml | 6 ------ packages/alarm_clock.yaml | 28 +++++++++++++++++++++++++++- 5 files changed, 27 insertions(+), 22 deletions(-) delete mode 100644 input_datetime.yaml diff --git a/customize.yaml b/customize.yaml index c30e30fd..3630b24b 100644 --- a/customize.yaml +++ b/customize.yaml @@ -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 diff --git a/input_boolean.yaml b/input_boolean.yaml index e2b88885..9955623e 100644 --- a/input_boolean.yaml +++ b/input_boolean.yaml @@ -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: diff --git a/input_datetime.yaml b/input_datetime.yaml deleted file mode 100644 index 02933c3d..00000000 --- a/input_datetime.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -alarm: - name: Wecker - has_date: true - has_time: true diff --git a/input_number.yaml b/input_number.yaml index b8bc1ba4..7bf64bc0 100644 --- a/input_number.yaml +++ b/input_number.yaml @@ -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 diff --git a/packages/alarm_clock.yaml b/packages/alarm_clock.yaml index 2d06363a..501691ee 100644 --- a/packages/alarm_clock.yaml +++ b/packages/alarm_clock.yaml @@ -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: @@ -12,4 +33,9 @@ sensor: - sensor.alarm_kevin - sensor.alarm_sina - input_boolean.user_one_home - - input_boolean.user_two_home \ No newline at end of file + - input_boolean.user_two_home + +homeassistant: + customize: + sensor.alarm_time: + icon: mdi:clock \ No newline at end of file