mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-01 02:21:46 +00:00
Merge pull request #1540 from CCOSTAN/holiday-cuckoo-clock
This commit is contained in:
@@ -43,6 +43,7 @@ Live, personal Home Assistant configuration shared for **browsing and inspiratio
|
|||||||
- Holiday/front-of-house color scenes: [config/scene/monthly_colors.yaml](config/scene/monthly_colors.yaml), [config/script/monthly_color_scene.yaml](config/script/monthly_color_scene.yaml)
|
- Holiday/front-of-house color scenes: [config/scene/monthly_colors.yaml](config/scene/monthly_colors.yaml), [config/script/monthly_color_scene.yaml](config/script/monthly_color_scene.yaml)
|
||||||
- Dash-button triggers for quick actions: [config/automation/dash_buttons.yaml](config/automation/dash_buttons.yaml)
|
- Dash-button triggers for quick actions: [config/automation/dash_buttons.yaml](config/automation/dash_buttons.yaml)
|
||||||
- PC lock/unlock-driven lighting via HASS.Agent: [config/packages/hass_agent_homepc.yaml](config/packages/hass_agent_homepc.yaml)
|
- PC lock/unlock-driven lighting via HASS.Agent: [config/packages/hass_agent_homepc.yaml](config/packages/hass_agent_homepc.yaml)
|
||||||
|
- Seasonal cuckoo clock with October and Christmas sound packs: [config/automation/System/CucKoo_Clock.yaml](config/automation/System/CucKoo_Clock.yaml)
|
||||||
- Battery and solar awareness: [config/packages/powerwall.yaml](config/packages/powerwall.yaml)
|
- Battery and solar awareness: [config/packages/powerwall.yaml](config/packages/powerwall.yaml)
|
||||||
- Presence-aware office comfort: [config/packages/office_motion.yaml](config/packages/office_motion.yaml)
|
- Presence-aware office comfort: [config/packages/office_motion.yaml](config/packages/office_motion.yaml)
|
||||||
- Weather-aware lighting: [config/automation/dark_rainy_day.yaml](config/automation/dark_rainy_day.yaml)
|
- Weather-aware lighting: [config/automation/dark_rainy_day.yaml](config/automation/dark_rainy_day.yaml)
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ Live view of the `config/` directory my production Home Assistant instance loads
|
|||||||
| Scenes | Seasonal and ambiance presets that the scripts and automations call into. | [scene/monthly_colors.yaml](scene/monthly_colors.yaml), [scene/living_room.yaml](scene/living_room.yaml) |
|
| Scenes | Seasonal and ambiance presets that the scripts and automations call into. | [scene/monthly_colors.yaml](scene/monthly_colors.yaml), [scene/living_room.yaml](scene/living_room.yaml) |
|
||||||
| Templates & Speech | Human-friendly voice briefings and templated responses. | [templates/speech/briefing.yaml](templates/speech/briefing.yaml) |
|
| Templates & Speech | Human-friendly voice briefings and templated responses. | [templates/speech/briefing.yaml](templates/speech/briefing.yaml) |
|
||||||
| Dashboards & Media | UI chrome, floorplans, sound bites, and automation assets. | [www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg](www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg), [media/](media) |
|
| Dashboards & Media | UI chrome, floorplans, sound bites, and automation assets. | [www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg](www/custom_ui/floorplan/images/branding/Bear-Stone-Docker-Diagram.jpg), [media/](media) |
|
||||||
|
| Seasonal Audio | Cuckoo clock with Halloween and Christmas sound packs. | [automation/System/CucKoo_Clock.yaml](automation/System/CucKoo_Clock.yaml) |
|
||||||
|
|
||||||
### Gear tied to these automations (affiliate links)
|
### Gear tied to these automations (affiliate links)
|
||||||
Only including devices that have active references in the files above. Want the legacy list? Jump to [../legacy-readme.md](../legacy-readme.md).
|
Only including devices that have active references in the files above. Want the legacy list? Jump to [../legacy-readme.md](../legacy-readme.md).
|
||||||
|
|||||||
@@ -39,17 +39,15 @@
|
|||||||
data:
|
data:
|
||||||
entity_id: media_player.livingroomCC
|
entity_id: media_player.livingroomCC
|
||||||
media_content_id: >
|
media_content_id: >
|
||||||
{% if now().strftime("%M")|int == 30 %}
|
{% set month = now().strftime("%B") %}
|
||||||
{% if now().strftime("%B") == 'October' %}
|
{% set base = "https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/" %}
|
||||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/october-clock/cuckoo-clock-01.wav
|
{% if month == 'October' %}
|
||||||
|
{% set folder = 'october-clock' %}
|
||||||
|
{% elif month == 'December' %}
|
||||||
|
{% set folder = 'december-clock' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock/cuckoo-clock-01.wav
|
{% set folder = 'cuckoo-clock' %}
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
{% if now().strftime("%B") == 'October' %}
|
|
||||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/october-clock/cuckoo-clock-{{now().strftime("%I")}}.wav
|
|
||||||
{% else %}
|
|
||||||
https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/cuckoo-clock/cuckoo-clock-{{now().strftime("%I")}}.wav
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% set file = 'cuckoo-clock-01.wav' if now().strftime("%M")|int == 30 else 'cuckoo-clock-' ~ now().strftime("%I") ~ '.wav' %}
|
||||||
|
{{ base ~ folder ~ '/' ~ file }}
|
||||||
media_content_type: audio/mp4
|
media_content_type: audio/mp4
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ Audio assets (alert tones, chimes, TTS snippets) used by automations and scripts
|
|||||||
### Tips
|
### Tips
|
||||||
- Keep filenames descriptive so automations stay readable.
|
- Keep filenames descriptive so automations stay readable.
|
||||||
- Subfolders hold themed or device-specific sounds.
|
- Subfolders hold themed or device-specific sounds.
|
||||||
|
- Seasonal cuckoo clock uses `october-clock` (Halloween) and `december-clock` (Christmas) variants, falling back to `cuckoo-clock`.
|
||||||
|
|
||||||
|
|
||||||
**All of my configuration files are tested against the most stable version of home-assistant.**
|
**All of my configuration files are tested against the most stable version of home-assistant.**
|
||||||
|
|||||||
BIN
config/sounds/december-clock/cuckoo-clock-01.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-01.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-02.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-02.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-03.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-03.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-04.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-04.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-05.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-05.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-06.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-06.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-07.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-07.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-08.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-08.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-09.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-09.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-10.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-10.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-11.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-11.wav
Normal file
Binary file not shown.
BIN
config/sounds/december-clock/cuckoo-clock-12.wav
Normal file
BIN
config/sounds/december-clock/cuckoo-clock-12.wav
Normal file
Binary file not shown.
Reference in New Issue
Block a user