diff --git a/README.md b/README.md index 462021c..93488f5 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,4 @@ La partie home-assistant fonctionne, le reveil configuré est bien envoyé à l' TODO: gitlab-ci : on peut checker la syntax en lancant un docker home-assistant !!! TODO: HA Il faut des scenes pour retrouver les couleurs classiques TODO: Ard pas d'arret une fois le reveil lancé +TODO: voir si c'est possible de changere la couleur de l'icone de la scene, avoir une icone bleue pour une couleur orange ... diff --git a/home-assistant/conf_customize.d/alarmclock.yaml b/home-assistant/conf_customize.d/alarmclock.yaml index 9a035fa..cce7f5e 100644 --- a/home-assistant/conf_customize.d/alarmclock.yaml +++ b/home-assistant/conf_customize.d/alarmclock.yaml @@ -21,3 +21,6 @@ input_boolean.alarmclock_status: light.alarmclock: friendly_name: "Alarm en cours" icon: "mdi:alarm-check" +scene.alarmclock_orange: + friendly_name: "Lumière Orange" + icon: "mdi:format-paint" diff --git a/home-assistant/conf_group.d/alarmclock.yaml b/home-assistant/conf_group.d/alarmclock.yaml index 8932313..6e13b84 100644 --- a/home-assistant/conf_group.d/alarmclock.yaml +++ b/home-assistant/conf_group.d/alarmclock.yaml @@ -14,3 +14,4 @@ alarmclock2: icon: "mdi:alarm" entities: - "group.alarmclock" + - "scene.alarmclock_orange" diff --git a/home-assistant/conf_scene.d/alarmclock.yaml b/home-assistant/conf_scene.d/alarmclock.yaml new file mode 100644 index 0000000..68309b3 --- /dev/null +++ b/home-assistant/conf_scene.d/alarmclock.yaml @@ -0,0 +1,5 @@ +- name: "alarmclock orange" + entities: + light.alarmclock: + state: "on" + rgb_color: [255, 123, 119]