diff --git a/.yamllint.yaml b/.yamllint.yaml index 5ca4bdf..b7a70ff 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -2,8 +2,8 @@ extends: default ignore: | appdaemon/ - templates/partials/ - secrets.yaml + config/templates/partials/ + config/secrets.yaml rules: document-start: diff --git a/README.md b/README.md index c252fa8..7307c9f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ keep everything organized and grouped by different functionalities. - `routines` - definitions of automated routines - e.g. Coming Home or Waking Up - `sensors` - describing sensors the house can use -The `speech` module uses [partial templates](https://github.com/GeorgeSG/sarah/tree/master/templates/partials) to generate more complex messages. +The `speech` module uses [partial templates](https://github.com/GeorgeSG/sarah/tree/master/config/templates/partials) to generate more complex messages. ## Hardware diff --git a/.HA_VERSION b/config/.HA_VERSION similarity index 100% rename from .HA_VERSION rename to config/.HA_VERSION diff --git a/.gitignore b/config/.gitignore similarity index 100% rename from .gitignore rename to config/.gitignore diff --git a/advanced-lovelace.yaml b/config/advanced-lovelace.yaml similarity index 100% rename from advanced-lovelace.yaml rename to config/advanced-lovelace.yaml diff --git a/blueprints/automation/aqara_switch.yaml b/config/blueprints/automation/aqara_switch.yaml similarity index 100% rename from blueprints/automation/aqara_switch.yaml rename to config/blueprints/automation/aqara_switch.yaml diff --git a/blueprints/automation/arrival_detection.yaml b/config/blueprints/automation/arrival_detection.yaml similarity index 100% rename from blueprints/automation/arrival_detection.yaml rename to config/blueprints/automation/arrival_detection.yaml diff --git a/blueprints/automation/homeassistant/motion_light.yaml b/config/blueprints/automation/homeassistant/motion_light.yaml similarity index 100% rename from blueprints/automation/homeassistant/motion_light.yaml rename to config/blueprints/automation/homeassistant/motion_light.yaml diff --git a/blueprints/automation/homeassistant/notify_leaving_zone.yaml b/config/blueprints/automation/homeassistant/notify_leaving_zone.yaml similarity index 100% rename from blueprints/automation/homeassistant/notify_leaving_zone.yaml rename to config/blueprints/automation/homeassistant/notify_leaving_zone.yaml diff --git a/blueprints/automation/light_on_set_temperature.yaml b/config/blueprints/automation/light_on_set_temperature.yaml similarity index 100% rename from blueprints/automation/light_on_set_temperature.yaml rename to config/blueprints/automation/light_on_set_temperature.yaml diff --git a/blueprints/automation/oppo_6_btn_switch.yaml b/config/blueprints/automation/oppo_6_btn_switch.yaml similarity index 100% rename from blueprints/automation/oppo_6_btn_switch.yaml rename to config/blueprints/automation/oppo_6_btn_switch.yaml diff --git a/blueprints/script/homeassistant/confirmable_notification.yaml b/config/blueprints/script/homeassistant/confirmable_notification.yaml similarity index 100% rename from blueprints/script/homeassistant/confirmable_notification.yaml rename to config/blueprints/script/homeassistant/confirmable_notification.yaml diff --git a/blueprints/script/sonos_join.yaml b/config/blueprints/script/sonos_join.yaml similarity index 100% rename from blueprints/script/sonos_join.yaml rename to config/blueprints/script/sonos_join.yaml diff --git a/configuration.yaml b/config/configuration.yaml similarity index 100% rename from configuration.yaml rename to config/configuration.yaml diff --git a/config/custom_scripts/youtube_download.py b/config/custom_scripts/youtube_download.py new file mode 100644 index 0000000..ada07fc --- /dev/null +++ b/config/custom_scripts/youtube_download.py @@ -0,0 +1,18 @@ +#!/usr/bin/python3.7 + +import sys +import youtube_dl +import os + +youtube_url = sys.argv[1] +out_name = sys.argv[2] if len(sys.argv) > 2 else "temp" +out_folder = sys.argv[3] if len(sys.argv) > 3 else "" + +full_file_path = f"""/config/www/audio/youtube/{out_folder}{out_name}""" + +ydl = youtube_dl.YoutubeDL({"format": "bestaudio", "outtmpl": full_file_path}) + +with ydl: + result = ydl.extract_info(youtube_url, download=True) + os.system(f"""ffmpeg -i {full_file_path} -acodec libmp3lame {full_file_path}.mp3""") + os.system(f"""rm {full_file_path}""") diff --git a/floorplan-lovelace.yaml b/config/floorplan-lovelace.yaml similarity index 100% rename from floorplan-lovelace.yaml rename to config/floorplan-lovelace.yaml diff --git a/hallway-lovelace.yaml b/config/hallway-lovelace.yaml similarity index 100% rename from hallway-lovelace.yaml rename to config/hallway-lovelace.yaml diff --git a/kitchen-lovelace.yaml b/config/kitchen-lovelace.yaml similarity index 100% rename from kitchen-lovelace.yaml rename to config/kitchen-lovelace.yaml diff --git a/lovelace/advanced_dashboard/00_home.yaml b/config/lovelace/advanced_dashboard/00_home.yaml similarity index 100% rename from lovelace/advanced_dashboard/00_home.yaml rename to config/lovelace/advanced_dashboard/00_home.yaml diff --git a/lovelace/advanced_dashboard/02_lights.yaml b/config/lovelace/advanced_dashboard/02_lights.yaml similarity index 100% rename from lovelace/advanced_dashboard/02_lights.yaml rename to config/lovelace/advanced_dashboard/02_lights.yaml diff --git a/lovelace/advanced_dashboard/03_climate.yaml b/config/lovelace/advanced_dashboard/03_climate.yaml similarity index 100% rename from lovelace/advanced_dashboard/03_climate.yaml rename to config/lovelace/advanced_dashboard/03_climate.yaml diff --git a/lovelace/advanced_dashboard/08_automations.yaml b/config/lovelace/advanced_dashboard/08_automations.yaml similarity index 100% rename from lovelace/advanced_dashboard/08_automations.yaml rename to config/lovelace/advanced_dashboard/08_automations.yaml diff --git a/lovelace/advanced_dashboard/09_network.yaml b/config/lovelace/advanced_dashboard/09_network.yaml similarity index 100% rename from lovelace/advanced_dashboard/09_network.yaml rename to config/lovelace/advanced_dashboard/09_network.yaml diff --git a/lovelace/advanced_dashboard/10_system.yaml b/config/lovelace/advanced_dashboard/10_system.yaml similarity index 100% rename from lovelace/advanced_dashboard/10_system.yaml rename to config/lovelace/advanced_dashboard/10_system.yaml diff --git a/lovelace/advanced_dashboard/12_test.yaml b/config/lovelace/advanced_dashboard/12_test.yaml similarity index 100% rename from lovelace/advanced_dashboard/12_test.yaml rename to config/lovelace/advanced_dashboard/12_test.yaml diff --git a/lovelace/button_card_templates/v2/default_button.yaml b/config/lovelace/button_card_templates/v2/default_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/default_button.yaml rename to config/lovelace/button_card_templates/v2/default_button.yaml diff --git a/lovelace/button_card_templates/v2/devices/ac_button.yaml b/config/lovelace/button_card_templates/v2/devices/ac_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/devices/ac_button.yaml rename to config/lovelace/button_card_templates/v2/devices/ac_button.yaml diff --git a/lovelace/button_card_templates/v2/devices/brita_water_button.yaml b/config/lovelace/button_card_templates/v2/devices/brita_water_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/devices/brita_water_button.yaml rename to config/lovelace/button_card_templates/v2/devices/brita_water_button.yaml diff --git a/lovelace/button_card_templates/v2/devices/cover.yaml b/config/lovelace/button_card_templates/v2/devices/cover.yaml similarity index 100% rename from lovelace/button_card_templates/v2/devices/cover.yaml rename to config/lovelace/button_card_templates/v2/devices/cover.yaml diff --git a/lovelace/button_card_templates/v2/devices/hallway_dashboard_mode_button.yaml b/config/lovelace/button_card_templates/v2/devices/hallway_dashboard_mode_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/devices/hallway_dashboard_mode_button.yaml rename to config/lovelace/button_card_templates/v2/devices/hallway_dashboard_mode_button.yaml diff --git a/lovelace/button_card_templates/v2/devices/radiator_button.yaml b/config/lovelace/button_card_templates/v2/devices/radiator_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/devices/radiator_button.yaml rename to config/lovelace/button_card_templates/v2/devices/radiator_button.yaml diff --git a/lovelace/button_card_templates/v2/humidity_button.yaml b/config/lovelace/button_card_templates/v2/humidity_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/humidity_button.yaml rename to config/lovelace/button_card_templates/v2/humidity_button.yaml diff --git a/lovelace/button_card_templates/v2/mixins/progress_button.yaml b/config/lovelace/button_card_templates/v2/mixins/progress_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/mixins/progress_button.yaml rename to config/lovelace/button_card_templates/v2/mixins/progress_button.yaml diff --git a/lovelace/button_card_templates/v2/mixins/scene_button.yaml b/config/lovelace/button_card_templates/v2/mixins/scene_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/mixins/scene_button.yaml rename to config/lovelace/button_card_templates/v2/mixins/scene_button.yaml diff --git a/lovelace/button_card_templates/v2/mixins/with_state_background_button.yaml b/config/lovelace/button_card_templates/v2/mixins/with_state_background_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/mixins/with_state_background_button.yaml rename to config/lovelace/button_card_templates/v2/mixins/with_state_background_button.yaml diff --git a/lovelace/button_card_templates/v2/mixins/with_state_indicator_button.yaml b/config/lovelace/button_card_templates/v2/mixins/with_state_indicator_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/mixins/with_state_indicator_button.yaml rename to config/lovelace/button_card_templates/v2/mixins/with_state_indicator_button.yaml diff --git a/lovelace/button_card_templates/v2/sizes/half_button.yaml b/config/lovelace/button_card_templates/v2/sizes/half_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/sizes/half_button.yaml rename to config/lovelace/button_card_templates/v2/sizes/half_button.yaml diff --git a/lovelace/button_card_templates/v2/sizes/regular_button.yaml b/config/lovelace/button_card_templates/v2/sizes/regular_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/sizes/regular_button.yaml rename to config/lovelace/button_card_templates/v2/sizes/regular_button.yaml diff --git a/lovelace/button_card_templates/v2/sizes/small_button.yaml b/config/lovelace/button_card_templates/v2/sizes/small_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/sizes/small_button.yaml rename to config/lovelace/button_card_templates/v2/sizes/small_button.yaml diff --git a/lovelace/button_card_templates/v2/sizes/xs_button.yaml b/config/lovelace/button_card_templates/v2/sizes/xs_button.yaml similarity index 100% rename from lovelace/button_card_templates/v2/sizes/xs_button.yaml rename to config/lovelace/button_card_templates/v2/sizes/xs_button.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_badge.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_badge.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_badge.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_badge.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_badge_icon.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_badge_icon.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_badge_icon.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_badge_icon.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_button.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_button.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_button.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_button.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_chip.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_chip.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_chip.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_chip.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_chip_name.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_chip_name.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_chip_name.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_chip_name.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_pill.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_pill.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_pill.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_pill.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_popup_button.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_popup_button.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_popup_button.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_popup_button.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_scene.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_scene.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_scene.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_scene.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_tablet_button.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_tablet_button.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_tablet_button.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_tablet_button.yaml diff --git a/lovelace/button_card_templates/v3/primitives/v3_xs_button.yaml b/config/lovelace/button_card_templates/v3/primitives/v3_xs_button.yaml similarity index 100% rename from lovelace/button_card_templates/v3/primitives/v3_xs_button.yaml rename to config/lovelace/button_card_templates/v3/primitives/v3_xs_button.yaml diff --git a/lovelace/button_card_templates/v3/v3_badge_humidity.yaml b/config/lovelace/button_card_templates/v3/v3_badge_humidity.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_badge_humidity.yaml rename to config/lovelace/button_card_templates/v3/v3_badge_humidity.yaml diff --git a/lovelace/button_card_templates/v3/v3_badge_temp.yaml b/config/lovelace/button_card_templates/v3/v3_badge_temp.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_badge_temp.yaml rename to config/lovelace/button_card_templates/v3/v3_badge_temp.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_ac.yaml b/config/lovelace/button_card_templates/v3/v3_button_ac.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_ac.yaml rename to config/lovelace/button_card_templates/v3/v3_button_ac.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_brita_water.yaml b/config/lovelace/button_card_templates/v3/v3_button_brita_water.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_brita_water.yaml rename to config/lovelace/button_card_templates/v3/v3_button_brita_water.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_cover.yaml b/config/lovelace/button_card_templates/v3/v3_button_cover.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_cover.yaml rename to config/lovelace/button_card_templates/v3/v3_button_cover.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_light.yaml b/config/lovelace/button_card_templates/v3/v3_button_light.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_light.yaml rename to config/lovelace/button_card_templates/v3/v3_button_light.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_person.yaml b/config/lovelace/button_card_templates/v3/v3_button_person.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_person.yaml rename to config/lovelace/button_card_templates/v3/v3_button_person.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_power.yaml b/config/lovelace/button_card_templates/v3/v3_button_power.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_power.yaml rename to config/lovelace/button_card_templates/v3/v3_button_power.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_purifier.yaml b/config/lovelace/button_card_templates/v3/v3_button_purifier.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_purifier.yaml rename to config/lovelace/button_card_templates/v3/v3_button_purifier.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_radiator.yaml b/config/lovelace/button_card_templates/v3/v3_button_radiator.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_radiator.yaml rename to config/lovelace/button_card_templates/v3/v3_button_radiator.yaml diff --git a/lovelace/button_card_templates/v3/v3_button_tv.yaml b/config/lovelace/button_card_templates/v3/v3_button_tv.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_button_tv.yaml rename to config/lovelace/button_card_templates/v3/v3_button_tv.yaml diff --git a/lovelace/button_card_templates/v3/v3_chip_entity_count.yaml b/config/lovelace/button_card_templates/v3/v3_chip_entity_count.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_chip_entity_count.yaml rename to config/lovelace/button_card_templates/v3/v3_chip_entity_count.yaml diff --git a/lovelace/button_card_templates/v3/v3_chip_person.yaml b/config/lovelace/button_card_templates/v3/v3_chip_person.yaml similarity index 100% rename from lovelace/button_card_templates/v3/v3_chip_person.yaml rename to config/lovelace/button_card_templates/v3/v3_chip_person.yaml diff --git a/lovelace/decluttering_templates/cards/aqara_tvoc_card.yaml b/config/lovelace/decluttering_templates/cards/aqara_tvoc_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/aqara_tvoc_card.yaml rename to config/lovelace/decluttering_templates/cards/aqara_tvoc_card.yaml diff --git a/lovelace/decluttering_templates/cards/bedroom_air_quality_card.yaml b/config/lovelace/decluttering_templates/cards/bedroom_air_quality_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/bedroom_air_quality_card.yaml rename to config/lovelace/decluttering_templates/cards/bedroom_air_quality_card.yaml diff --git a/lovelace/decluttering_templates/cards/bedroom_allergen_index_card.yaml b/config/lovelace/decluttering_templates/cards/bedroom_allergen_index_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/bedroom_allergen_index_card.yaml rename to config/lovelace/decluttering_templates/cards/bedroom_allergen_index_card.yaml diff --git a/lovelace/decluttering_templates/cards/bedroom_climate_card.yaml b/config/lovelace/decluttering_templates/cards/bedroom_climate_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/bedroom_climate_card.yaml rename to config/lovelace/decluttering_templates/cards/bedroom_climate_card.yaml diff --git a/lovelace/decluttering_templates/cards/bedroom_humidity_card.yaml b/config/lovelace/decluttering_templates/cards/bedroom_humidity_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/bedroom_humidity_card.yaml rename to config/lovelace/decluttering_templates/cards/bedroom_humidity_card.yaml diff --git a/lovelace/decluttering_templates/cards/brita_card.yaml b/config/lovelace/decluttering_templates/cards/brita_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/brita_card.yaml rename to config/lovelace/decluttering_templates/cards/brita_card.yaml diff --git a/lovelace/decluttering_templates/cards/bulsatcom_remote_card.yaml b/config/lovelace/decluttering_templates/cards/bulsatcom_remote_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/bulsatcom_remote_card.yaml rename to config/lovelace/decluttering_templates/cards/bulsatcom_remote_card.yaml diff --git a/lovelace/decluttering_templates/cards/cadmium_card.yaml b/config/lovelace/decluttering_templates/cards/cadmium_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/cadmium_card.yaml rename to config/lovelace/decluttering_templates/cards/cadmium_card.yaml diff --git a/lovelace/decluttering_templates/cards/climate_card.yaml b/config/lovelace/decluttering_templates/cards/climate_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/climate_card.yaml rename to config/lovelace/decluttering_templates/cards/climate_card.yaml diff --git a/lovelace/decluttering_templates/cards/hdmi_switch_remote_card.yaml b/config/lovelace/decluttering_templates/cards/hdmi_switch_remote_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/hdmi_switch_remote_card.yaml rename to config/lovelace/decluttering_templates/cards/hdmi_switch_remote_card.yaml diff --git a/lovelace/decluttering_templates/cards/mercury_card.yaml b/config/lovelace/decluttering_templates/cards/mercury_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/mercury_card.yaml rename to config/lovelace/decluttering_templates/cards/mercury_card.yaml diff --git a/lovelace/decluttering_templates/cards/network_card.yaml b/config/lovelace/decluttering_templates/cards/network_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/network_card.yaml rename to config/lovelace/decluttering_templates/cards/network_card.yaml diff --git a/lovelace/decluttering_templates/cards/old_hdmi_swtich_remote_card.yaml b/config/lovelace/decluttering_templates/cards/old_hdmi_swtich_remote_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/old_hdmi_swtich_remote_card.yaml rename to config/lovelace/decluttering_templates/cards/old_hdmi_swtich_remote_card.yaml diff --git a/lovelace/decluttering_templates/cards/philips_airpurifier_card.yaml b/config/lovelace/decluttering_templates/cards/philips_airpurifier_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/philips_airpurifier_card.yaml rename to config/lovelace/decluttering_templates/cards/philips_airpurifier_card.yaml diff --git a/lovelace/decluttering_templates/cards/pi_hole_card.yaml b/config/lovelace/decluttering_templates/cards/pi_hole_card.yaml similarity index 100% rename from lovelace/decluttering_templates/cards/pi_hole_card.yaml rename to config/lovelace/decluttering_templates/cards/pi_hole_card.yaml diff --git a/lovelace/decluttering_templates/coloured-vertical-stack.yaml b/config/lovelace/decluttering_templates/coloured-vertical-stack.yaml similarity index 100% rename from lovelace/decluttering_templates/coloured-vertical-stack.yaml rename to config/lovelace/decluttering_templates/coloured-vertical-stack.yaml diff --git a/lovelace/decluttering_templates/floorplan_state_icon.yaml b/config/lovelace/decluttering_templates/floorplan_state_icon.yaml similarity index 100% rename from lovelace/decluttering_templates/floorplan_state_icon.yaml rename to config/lovelace/decluttering_templates/floorplan_state_icon.yaml diff --git a/lovelace/decluttering_templates/lights.yaml b/config/lovelace/decluttering_templates/lights.yaml similarity index 100% rename from lovelace/decluttering_templates/lights.yaml rename to config/lovelace/decluttering_templates/lights.yaml diff --git a/lovelace/decluttering_templates/media_player.yaml b/config/lovelace/decluttering_templates/media_player.yaml similarity index 100% rename from lovelace/decluttering_templates/media_player.yaml rename to config/lovelace/decluttering_templates/media_player.yaml diff --git a/lovelace/decluttering_templates/percentage-card.yaml b/config/lovelace/decluttering_templates/percentage-card.yaml similarity index 100% rename from lovelace/decluttering_templates/percentage-card.yaml rename to config/lovelace/decluttering_templates/percentage-card.yaml diff --git a/lovelace/decluttering_templates/stacked-weather.yaml b/config/lovelace/decluttering_templates/stacked-weather.yaml similarity index 100% rename from lovelace/decluttering_templates/stacked-weather.yaml rename to config/lovelace/decluttering_templates/stacked-weather.yaml diff --git a/lovelace/decluttering_templates/v3/v3_horizontal_stack_card.yaml b/config/lovelace/decluttering_templates/v3/v3_horizontal_stack_card.yaml similarity index 100% rename from lovelace/decluttering_templates/v3/v3_horizontal_stack_card.yaml rename to config/lovelace/decluttering_templates/v3/v3_horizontal_stack_card.yaml diff --git a/lovelace/decluttering_templates/v3/v3_media_with_controls.yaml b/config/lovelace/decluttering_templates/v3/v3_media_with_controls.yaml similarity index 100% rename from lovelace/decluttering_templates/v3/v3_media_with_controls.yaml rename to config/lovelace/decluttering_templates/v3/v3_media_with_controls.yaml diff --git a/lovelace/decluttering_templates/v3/v3_section_title.yaml b/config/lovelace/decluttering_templates/v3/v3_section_title.yaml similarity index 100% rename from lovelace/decluttering_templates/v3/v3_section_title.yaml rename to config/lovelace/decluttering_templates/v3/v3_section_title.yaml diff --git a/lovelace/decluttering_templates/v3/v3_title.yaml b/config/lovelace/decluttering_templates/v3/v3_title.yaml similarity index 100% rename from lovelace/decluttering_templates/v3/v3_title.yaml rename to config/lovelace/decluttering_templates/v3/v3_title.yaml diff --git a/lovelace/floorplan_dashboard/picture_elements/light_overlays.yaml b/config/lovelace/floorplan_dashboard/picture_elements/light_overlays.yaml similarity index 100% rename from lovelace/floorplan_dashboard/picture_elements/light_overlays.yaml rename to config/lovelace/floorplan_dashboard/picture_elements/light_overlays.yaml diff --git a/lovelace/floorplan_dashboard/picture_elements/light_switches.yaml b/config/lovelace/floorplan_dashboard/picture_elements/light_switches.yaml similarity index 100% rename from lovelace/floorplan_dashboard/picture_elements/light_switches.yaml rename to config/lovelace/floorplan_dashboard/picture_elements/light_switches.yaml diff --git a/lovelace/floorplan_dashboard/picture_elements/sensors.yaml b/config/lovelace/floorplan_dashboard/picture_elements/sensors.yaml similarity index 100% rename from lovelace/floorplan_dashboard/picture_elements/sensors.yaml rename to config/lovelace/floorplan_dashboard/picture_elements/sensors.yaml diff --git a/lovelace/floorplan_dashboard/picture_elements/system.yaml b/config/lovelace/floorplan_dashboard/picture_elements/system.yaml similarity index 100% rename from lovelace/floorplan_dashboard/picture_elements/system.yaml rename to config/lovelace/floorplan_dashboard/picture_elements/system.yaml diff --git a/lovelace/hallway_dashboard/at_home_dashboard.yaml b/config/lovelace/hallway_dashboard/at_home_dashboard.yaml similarity index 100% rename from lovelace/hallway_dashboard/at_home_dashboard.yaml rename to config/lovelace/hallway_dashboard/at_home_dashboard.yaml diff --git a/lovelace/hallway_dashboard/coming_home_dashboard.yaml b/config/lovelace/hallway_dashboard/coming_home_dashboard.yaml similarity index 100% rename from lovelace/hallway_dashboard/coming_home_dashboard.yaml rename to config/lovelace/hallway_dashboard/coming_home_dashboard.yaml diff --git a/lovelace/hallway_dashboard/leaving_home_dashboard.yaml b/config/lovelace/hallway_dashboard/leaving_home_dashboard.yaml similarity index 100% rename from lovelace/hallway_dashboard/leaving_home_dashboard.yaml rename to config/lovelace/hallway_dashboard/leaving_home_dashboard.yaml diff --git a/lovelace/home_dashboard/bathroom_dashboard.yaml b/config/lovelace/home_dashboard/bathroom_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/bathroom_dashboard.yaml rename to config/lovelace/home_dashboard/bathroom_dashboard.yaml diff --git a/lovelace/home_dashboard/bedroom_dashboard.yaml b/config/lovelace/home_dashboard/bedroom_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/bedroom_dashboard.yaml rename to config/lovelace/home_dashboard/bedroom_dashboard.yaml diff --git a/lovelace/home_dashboard/guest_bedroom_dashboard.yaml b/config/lovelace/home_dashboard/guest_bedroom_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/guest_bedroom_dashboard.yaml rename to config/lovelace/home_dashboard/guest_bedroom_dashboard.yaml diff --git a/lovelace/home_dashboard/hallway_dashboard.yaml b/config/lovelace/home_dashboard/hallway_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/hallway_dashboard.yaml rename to config/lovelace/home_dashboard/hallway_dashboard.yaml diff --git a/lovelace/home_dashboard/kitchen_dashboard.yaml b/config/lovelace/home_dashboard/kitchen_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/kitchen_dashboard.yaml rename to config/lovelace/home_dashboard/kitchen_dashboard.yaml diff --git a/lovelace/home_dashboard/living_room_dashboard.yaml b/config/lovelace/home_dashboard/living_room_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/living_room_dashboard.yaml rename to config/lovelace/home_dashboard/living_room_dashboard.yaml diff --git a/lovelace/home_dashboard/preferences_dashboard.yaml b/config/lovelace/home_dashboard/preferences_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/preferences_dashboard.yaml rename to config/lovelace/home_dashboard/preferences_dashboard.yaml diff --git a/lovelace/home_dashboard/terrarium_dashboard.yaml b/config/lovelace/home_dashboard/terrarium_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/terrarium_dashboard.yaml rename to config/lovelace/home_dashboard/terrarium_dashboard.yaml diff --git a/lovelace/home_dashboard/world_dashboard.yaml b/config/lovelace/home_dashboard/world_dashboard.yaml similarity index 100% rename from lovelace/home_dashboard/world_dashboard.yaml rename to config/lovelace/home_dashboard/world_dashboard.yaml diff --git a/lovelace/popup_cards.yaml b/config/lovelace/popup_cards.yaml similarity index 100% rename from lovelace/popup_cards.yaml rename to config/lovelace/popup_cards.yaml diff --git a/lovelace/resources.yaml b/config/lovelace/resources.yaml similarity index 100% rename from lovelace/resources.yaml rename to config/lovelace/resources.yaml diff --git a/packages/devices/bathroom/bathroom_switch.yaml b/config/packages/devices/bathroom/bathroom_switch.yaml similarity index 100% rename from packages/devices/bathroom/bathroom_switch.yaml rename to config/packages/devices/bathroom/bathroom_switch.yaml diff --git a/packages/devices/bedroom/bedroom_opple.yaml b/config/packages/devices/bedroom/bedroom_opple.yaml similarity index 100% rename from packages/devices/bedroom/bedroom_opple.yaml rename to config/packages/devices/bedroom/bedroom_opple.yaml diff --git a/packages/devices/bedroom/bedside_switch.yaml b/config/packages/devices/bedroom/bedside_switch.yaml similarity index 100% rename from packages/devices/bedroom/bedside_switch.yaml rename to config/packages/devices/bedroom/bedside_switch.yaml diff --git a/packages/devices/bedroom/bedside_switch_2.yaml b/config/packages/devices/bedroom/bedside_switch_2.yaml similarity index 100% rename from packages/devices/bedroom/bedside_switch_2.yaml rename to config/packages/devices/bedroom/bedside_switch_2.yaml diff --git a/packages/devices/bedroom/purifier.yaml b/config/packages/devices/bedroom/purifier.yaml similarity index 100% rename from packages/devices/bedroom/purifier.yaml rename to config/packages/devices/bedroom/purifier.yaml diff --git a/packages/devices/bedroom/tapo.yaml b/config/packages/devices/bedroom/tapo.yaml similarity index 100% rename from packages/devices/bedroom/tapo.yaml rename to config/packages/devices/bedroom/tapo.yaml diff --git a/packages/devices/hallway/hallway_tablet.yaml b/config/packages/devices/hallway/hallway_tablet.yaml similarity index 100% rename from packages/devices/hallway/hallway_tablet.yaml rename to config/packages/devices/hallway/hallway_tablet.yaml diff --git a/packages/devices/kitchen/brita_filter.yaml b/config/packages/devices/kitchen/brita_filter.yaml similarity index 100% rename from packages/devices/kitchen/brita_filter.yaml rename to config/packages/devices/kitchen/brita_filter.yaml diff --git a/packages/devices/living_room/bulsatcom.yaml b/config/packages/devices/living_room/bulsatcom.yaml similarity index 100% rename from packages/devices/living_room/bulsatcom.yaml rename to config/packages/devices/living_room/bulsatcom.yaml diff --git a/packages/devices/living_room/cadmium.yaml b/config/packages/devices/living_room/cadmium.yaml similarity index 100% rename from packages/devices/living_room/cadmium.yaml rename to config/packages/devices/living_room/cadmium.yaml diff --git a/packages/devices/living_room/camera.yaml b/config/packages/devices/living_room/camera.yaml similarity index 100% rename from packages/devices/living_room/camera.yaml rename to config/packages/devices/living_room/camera.yaml diff --git a/packages/devices/living_room/candle.yaml b/config/packages/devices/living_room/candle.yaml similarity index 100% rename from packages/devices/living_room/candle.yaml rename to config/packages/devices/living_room/candle.yaml diff --git a/packages/devices/living_room/cobalt.yaml b/config/packages/devices/living_room/cobalt.yaml similarity index 100% rename from packages/devices/living_room/cobalt.yaml rename to config/packages/devices/living_room/cobalt.yaml diff --git a/packages/devices/living_room/cover.yaml b/config/packages/devices/living_room/cover.yaml similarity index 100% rename from packages/devices/living_room/cover.yaml rename to config/packages/devices/living_room/cover.yaml diff --git a/packages/devices/living_room/desk_outlet.yaml b/config/packages/devices/living_room/desk_outlet.yaml similarity index 100% rename from packages/devices/living_room/desk_outlet.yaml rename to config/packages/devices/living_room/desk_outlet.yaml diff --git a/packages/devices/living_room/desk_switch.yaml b/config/packages/devices/living_room/desk_switch.yaml similarity index 100% rename from packages/devices/living_room/desk_switch.yaml rename to config/packages/devices/living_room/desk_switch.yaml diff --git a/packages/devices/living_room/hdmi_switch.yaml b/config/packages/devices/living_room/hdmi_switch.yaml similarity index 100% rename from packages/devices/living_room/hdmi_switch.yaml rename to config/packages/devices/living_room/hdmi_switch.yaml diff --git a/packages/devices/living_room/hdmi_switch_old.yaml b/config/packages/devices/living_room/hdmi_switch_old.yaml similarity index 100% rename from packages/devices/living_room/hdmi_switch_old.yaml rename to config/packages/devices/living_room/hdmi_switch_old.yaml diff --git a/packages/devices/living_room/isparkle.yaml b/config/packages/devices/living_room/isparkle.yaml similarity index 100% rename from packages/devices/living_room/isparkle.yaml rename to config/packages/devices/living_room/isparkle.yaml diff --git a/packages/devices/living_room/living_room_opple.yaml b/config/packages/devices/living_room/living_room_opple.yaml similarity index 100% rename from packages/devices/living_room/living_room_opple.yaml rename to config/packages/devices/living_room/living_room_opple.yaml diff --git a/packages/devices/living_room/toshiba_ac.yaml b/config/packages/devices/living_room/toshiba_ac.yaml similarity index 100% rename from packages/devices/living_room/toshiba_ac.yaml rename to config/packages/devices/living_room/toshiba_ac.yaml diff --git a/packages/devices/living_room/trust_remote.yaml b/config/packages/devices/living_room/trust_remote.yaml similarity index 100% rename from packages/devices/living_room/trust_remote.yaml rename to config/packages/devices/living_room/trust_remote.yaml diff --git a/packages/devices/living_room/tv.yaml b/config/packages/devices/living_room/tv.yaml similarity index 100% rename from packages/devices/living_room/tv.yaml rename to config/packages/devices/living_room/tv.yaml diff --git a/packages/devices/living_room/wallmote.yaml b/config/packages/devices/living_room/wallmote.yaml similarity index 100% rename from packages/devices/living_room/wallmote.yaml rename to config/packages/devices/living_room/wallmote.yaml diff --git a/packages/devices/vacuum.yaml b/config/packages/devices/vacuum.yaml similarity index 100% rename from packages/devices/vacuum.yaml rename to config/packages/devices/vacuum.yaml diff --git a/packages/modes/domestina.yaml b/config/packages/modes/domestina.yaml similarity index 100% rename from packages/modes/domestina.yaml rename to config/packages/modes/domestina.yaml diff --git a/packages/modes/guest_mode.yaml b/config/packages/modes/guest_mode.yaml similarity index 100% rename from packages/modes/guest_mode.yaml rename to config/packages/modes/guest_mode.yaml diff --git a/packages/modes/house_mode.yaml b/config/packages/modes/house_mode.yaml similarity index 100% rename from packages/modes/house_mode.yaml rename to config/packages/modes/house_mode.yaml diff --git a/packages/modes/simulation.yaml b/config/packages/modes/simulation.yaml similarity index 100% rename from packages/modes/simulation.yaml rename to config/packages/modes/simulation.yaml diff --git a/packages/modules/alexa.yaml b/config/packages/modules/alexa.yaml similarity index 100% rename from packages/modules/alexa.yaml rename to config/packages/modules/alexa.yaml diff --git a/packages/modules/batteries.yaml b/config/packages/modules/batteries.yaml similarity index 100% rename from packages/modules/batteries.yaml rename to config/packages/modules/batteries.yaml diff --git a/packages/modules/browser_mod.yaml b/config/packages/modules/browser_mod.yaml similarity index 100% rename from packages/modules/browser_mod.yaml rename to config/packages/modules/browser_mod.yaml diff --git a/packages/modules/climate/air_quality.yaml b/config/packages/modules/climate/air_quality.yaml similarity index 100% rename from packages/modules/climate/air_quality.yaml rename to config/packages/modules/climate/air_quality.yaml diff --git a/packages/modules/climate/internal_sensors.yaml b/config/packages/modules/climate/internal_sensors.yaml similarity index 100% rename from packages/modules/climate/internal_sensors.yaml rename to config/packages/modules/climate/internal_sensors.yaml diff --git a/packages/modules/climate/radiators.yaml b/config/packages/modules/climate/radiators.yaml similarity index 100% rename from packages/modules/climate/radiators.yaml rename to config/packages/modules/climate/radiators.yaml diff --git a/packages/modules/climate/weather.yaml b/config/packages/modules/climate/weather.yaml similarity index 100% rename from packages/modules/climate/weather.yaml rename to config/packages/modules/climate/weather.yaml diff --git a/packages/modules/climate/windows.yaml b/config/packages/modules/climate/windows.yaml similarity index 100% rename from packages/modules/climate/windows.yaml rename to config/packages/modules/climate/windows.yaml diff --git a/packages/modules/clock.yaml b/config/packages/modules/clock.yaml similarity index 100% rename from packages/modules/clock.yaml rename to config/packages/modules/clock.yaml diff --git a/packages/modules/github.yaml b/config/packages/modules/github.yaml similarity index 100% rename from packages/modules/github.yaml rename to config/packages/modules/github.yaml diff --git a/packages/modules/ios_events.yaml b/config/packages/modules/ios_events.yaml similarity index 100% rename from packages/modules/ios_events.yaml rename to config/packages/modules/ios_events.yaml diff --git a/packages/modules/lighting/areas/bedroom.yaml b/config/packages/modules/lighting/areas/bedroom.yaml similarity index 100% rename from packages/modules/lighting/areas/bedroom.yaml rename to config/packages/modules/lighting/areas/bedroom.yaml diff --git a/packages/modules/lighting/areas/guest_bedroom.yaml b/config/packages/modules/lighting/areas/guest_bedroom.yaml similarity index 100% rename from packages/modules/lighting/areas/guest_bedroom.yaml rename to config/packages/modules/lighting/areas/guest_bedroom.yaml diff --git a/packages/modules/lighting/areas/hallway.yaml b/config/packages/modules/lighting/areas/hallway.yaml similarity index 100% rename from packages/modules/lighting/areas/hallway.yaml rename to config/packages/modules/lighting/areas/hallway.yaml diff --git a/packages/modules/lighting/areas/kitchen.yaml b/config/packages/modules/lighting/areas/kitchen.yaml similarity index 100% rename from packages/modules/lighting/areas/kitchen.yaml rename to config/packages/modules/lighting/areas/kitchen.yaml diff --git a/packages/modules/lighting/areas/living_room.yaml b/config/packages/modules/lighting/areas/living_room.yaml similarity index 100% rename from packages/modules/lighting/areas/living_room.yaml rename to config/packages/modules/lighting/areas/living_room.yaml diff --git a/packages/modules/lighting/color_mode.yaml b/config/packages/modules/lighting/color_mode.yaml similarity index 100% rename from packages/modules/lighting/color_mode.yaml rename to config/packages/modules/lighting/color_mode.yaml diff --git a/packages/modules/lighting/schedule.yaml b/config/packages/modules/lighting/schedule.yaml similarity index 100% rename from packages/modules/lighting/schedule.yaml rename to config/packages/modules/lighting/schedule.yaml diff --git a/packages/modules/lighting/setup/connectors.yaml b/config/packages/modules/lighting/setup/connectors.yaml similarity index 100% rename from packages/modules/lighting/setup/connectors.yaml rename to config/packages/modules/lighting/setup/connectors.yaml diff --git a/packages/modules/lighting/setup/groups.yaml b/config/packages/modules/lighting/setup/groups.yaml similarity index 100% rename from packages/modules/lighting/setup/groups.yaml rename to config/packages/modules/lighting/setup/groups.yaml diff --git a/packages/modules/lighting/setup/mqtt.yaml b/config/packages/modules/lighting/setup/mqtt.yaml similarity index 100% rename from packages/modules/lighting/setup/mqtt.yaml rename to config/packages/modules/lighting/setup/mqtt.yaml diff --git a/packages/modules/lighting/temperature.yaml b/config/packages/modules/lighting/temperature.yaml similarity index 100% rename from packages/modules/lighting/temperature.yaml rename to config/packages/modules/lighting/temperature.yaml diff --git a/packages/modules/media/music.yaml b/config/packages/modules/media/music.yaml similarity index 100% rename from packages/modules/media/music.yaml rename to config/packages/modules/media/music.yaml diff --git a/packages/modules/media/plex.yaml b/config/packages/modules/media/plex.yaml similarity index 100% rename from packages/modules/media/plex.yaml rename to config/packages/modules/media/plex.yaml diff --git a/packages/modules/media/sonos.yaml b/config/packages/modules/media/sonos.yaml similarity index 100% rename from packages/modules/media/sonos.yaml rename to config/packages/modules/media/sonos.yaml diff --git a/packages/modules/meeting.yaml b/config/packages/modules/meeting.yaml similarity index 100% rename from packages/modules/meeting.yaml rename to config/packages/modules/meeting.yaml diff --git a/packages/modules/network.yaml b/config/packages/modules/network.yaml similarity index 100% rename from packages/modules/network.yaml rename to config/packages/modules/network.yaml diff --git a/packages/modules/notification.yaml b/config/packages/modules/notification.yaml similarity index 100% rename from packages/modules/notification.yaml rename to config/packages/modules/notification.yaml diff --git a/packages/modules/preferences/preferences_guest_bedroom.yaml b/config/packages/modules/preferences/preferences_guest_bedroom.yaml similarity index 100% rename from packages/modules/preferences/preferences_guest_bedroom.yaml rename to config/packages/modules/preferences/preferences_guest_bedroom.yaml diff --git a/packages/modules/preferences/preferences_milena.yaml b/config/packages/modules/preferences/preferences_milena.yaml similarity index 100% rename from packages/modules/preferences/preferences_milena.yaml rename to config/packages/modules/preferences/preferences_milena.yaml diff --git a/packages/modules/presence.yaml b/config/packages/modules/presence.yaml similarity index 100% rename from packages/modules/presence.yaml rename to config/packages/modules/presence.yaml diff --git a/packages/modules/security.yaml b/config/packages/modules/security.yaml similarity index 100% rename from packages/modules/security.yaml rename to config/packages/modules/security.yaml diff --git a/packages/modules/speech.yaml b/config/packages/modules/speech.yaml similarity index 100% rename from packages/modules/speech.yaml rename to config/packages/modules/speech.yaml diff --git a/packages/modules/system.yaml b/config/packages/modules/system.yaml similarity index 97% rename from packages/modules/system.yaml rename to config/packages/modules/system.yaml index 840f9b7..4ce0ed3 100644 --- a/packages/modules/system.yaml +++ b/config/packages/modules/system.yaml @@ -28,7 +28,7 @@ sensor: shell_command: - clear_logs: truncate -s 0 /home-assistant.log + clear_logs: truncate -s 0 /config/home-assistant.log script: sarah_restart: diff --git a/packages/routines/bedtime.yaml b/config/packages/routines/bedtime.yaml similarity index 100% rename from packages/routines/bedtime.yaml rename to config/packages/routines/bedtime.yaml diff --git a/packages/routines/coming_home.yaml b/config/packages/routines/coming_home.yaml similarity index 100% rename from packages/routines/coming_home.yaml rename to config/packages/routines/coming_home.yaml diff --git a/packages/routines/good_night.yaml b/config/packages/routines/good_night.yaml similarity index 100% rename from packages/routines/good_night.yaml rename to config/packages/routines/good_night.yaml diff --git a/packages/routines/leaving_home.yaml b/config/packages/routines/leaving_home.yaml similarity index 100% rename from packages/routines/leaving_home.yaml rename to config/packages/routines/leaving_home.yaml diff --git a/packages/routines/waking_up.yaml b/config/packages/routines/waking_up.yaml similarity index 100% rename from packages/routines/waking_up.yaml rename to config/packages/routines/waking_up.yaml diff --git a/packages/sensors/doors.yaml b/config/packages/sensors/doors.yaml similarity index 100% rename from packages/sensors/doors.yaml rename to config/packages/sensors/doors.yaml diff --git a/packages/sensors/motion.yaml b/config/packages/sensors/motion.yaml similarity index 100% rename from packages/sensors/motion.yaml rename to config/packages/sensors/motion.yaml diff --git a/packages/sensors/space.yaml b/config/packages/sensors/space.yaml similarity index 100% rename from packages/sensors/space.yaml rename to config/packages/sensors/space.yaml diff --git a/packages/sensors/workday.yaml b/config/packages/sensors/workday.yaml similarity index 100% rename from packages/sensors/workday.yaml rename to config/packages/sensors/workday.yaml diff --git a/replaced_with_config_flow.yaml b/config/replaced_with_config_flow.yaml similarity index 100% rename from replaced_with_config_flow.yaml rename to config/replaced_with_config_flow.yaml diff --git a/secrets.example.yaml b/config/secrets.example.yaml similarity index 100% rename from secrets.example.yaml rename to config/secrets.example.yaml diff --git a/templates/partials/greeting.yaml b/config/templates/partials/greeting.yaml similarity index 100% rename from templates/partials/greeting.yaml rename to config/templates/partials/greeting.yaml diff --git a/templates/partials/indoor_temperarture.yaml b/config/templates/partials/indoor_temperarture.yaml similarity index 100% rename from templates/partials/indoor_temperarture.yaml rename to config/templates/partials/indoor_temperarture.yaml diff --git a/templates/partials/iss.yaml b/config/templates/partials/iss.yaml similarity index 100% rename from templates/partials/iss.yaml rename to config/templates/partials/iss.yaml diff --git a/templates/partials/master_bedroom_climate.yaml b/config/templates/partials/master_bedroom_climate.yaml similarity index 100% rename from templates/partials/master_bedroom_climate.yaml rename to config/templates/partials/master_bedroom_climate.yaml diff --git a/templates/partials/moon.yaml b/config/templates/partials/moon.yaml similarity index 100% rename from templates/partials/moon.yaml rename to config/templates/partials/moon.yaml diff --git a/templates/partials/outside_forecast.yaml b/config/templates/partials/outside_forecast.yaml similarity index 100% rename from templates/partials/outside_forecast.yaml rename to config/templates/partials/outside_forecast.yaml diff --git a/templates/partials/tasks.yaml b/config/templates/partials/tasks.yaml similarity index 100% rename from templates/partials/tasks.yaml rename to config/templates/partials/tasks.yaml diff --git a/templates/partials/time.yaml b/config/templates/partials/time.yaml similarity index 100% rename from templates/partials/time.yaml rename to config/templates/partials/time.yaml diff --git a/templates/partials/window_check.yaml b/config/templates/partials/window_check.yaml similarity index 100% rename from templates/partials/window_check.yaml rename to config/templates/partials/window_check.yaml diff --git a/templates/partials/window_suggestions.yaml b/config/templates/partials/window_suggestions.yaml similarity index 100% rename from templates/partials/window_suggestions.yaml rename to config/templates/partials/window_suggestions.yaml diff --git a/ui-lovelace.yaml b/config/ui-lovelace.yaml similarity index 100% rename from ui-lovelace.yaml rename to config/ui-lovelace.yaml diff --git a/www/images/.gitignore b/config/www/images/.gitignore similarity index 100% rename from www/images/.gitignore rename to config/www/images/.gitignore diff --git a/www/images/floorplan/floorplan_day.jpg b/config/www/images/floorplan/floorplan_day.jpg similarity index 100% rename from www/images/floorplan/floorplan_day.jpg rename to config/www/images/floorplan/floorplan_day.jpg diff --git a/www/images/floorplan/floorplan_night.jpg b/config/www/images/floorplan/floorplan_night.jpg similarity index 100% rename from www/images/floorplan/floorplan_night.jpg rename to config/www/images/floorplan/floorplan_night.jpg diff --git a/www/images/floorplan/floorplan_night_transparent.png b/config/www/images/floorplan/floorplan_night_transparent.png similarity index 100% rename from www/images/floorplan/floorplan_night_transparent.png rename to config/www/images/floorplan/floorplan_night_transparent.png diff --git a/www/images/floorplan/hallway_all_lights_on.png b/config/www/images/floorplan/hallway_all_lights_on.png similarity index 100% rename from www/images/floorplan/hallway_all_lights_on.png rename to config/www/images/floorplan/hallway_all_lights_on.png diff --git a/www/images/floorplan/hallway_entrance_lights_on.png b/config/www/images/floorplan/hallway_entrance_lights_on.png similarity index 100% rename from www/images/floorplan/hallway_entrance_lights_on.png rename to config/www/images/floorplan/hallway_entrance_lights_on.png diff --git a/www/images/floorplan/hallway_main_lights_on.png b/config/www/images/floorplan/hallway_main_lights_on.png similarity index 100% rename from www/images/floorplan/hallway_main_lights_on.png rename to config/www/images/floorplan/hallway_main_lights_on.png diff --git a/www/images/floorplan/kitchen_all_lights_on.png b/config/www/images/floorplan/kitchen_all_lights_on.png similarity index 100% rename from www/images/floorplan/kitchen_all_lights_on.png rename to config/www/images/floorplan/kitchen_all_lights_on.png diff --git a/www/images/floorplan/kitchen_main_lights_on.png b/config/www/images/floorplan/kitchen_main_lights_on.png similarity index 100% rename from www/images/floorplan/kitchen_main_lights_on.png rename to config/www/images/floorplan/kitchen_main_lights_on.png diff --git a/www/images/floorplan/kitchen_secondary_lights_on.png b/config/www/images/floorplan/kitchen_secondary_lights_on.png similarity index 100% rename from www/images/floorplan/kitchen_secondary_lights_on.png rename to config/www/images/floorplan/kitchen_secondary_lights_on.png diff --git a/www/images/floorplan/living_room_all_lights_on.png b/config/www/images/floorplan/living_room_all_lights_on.png similarity index 100% rename from www/images/floorplan/living_room_all_lights_on.png rename to config/www/images/floorplan/living_room_all_lights_on.png diff --git a/www/images/floorplan/living_room_main_lights_on.png b/config/www/images/floorplan/living_room_main_lights_on.png similarity index 100% rename from www/images/floorplan/living_room_main_lights_on.png rename to config/www/images/floorplan/living_room_main_lights_on.png diff --git a/www/images/floorplan/living_room_pc_light_on.png b/config/www/images/floorplan/living_room_pc_light_on.png similarity index 100% rename from www/images/floorplan/living_room_pc_light_on.png rename to config/www/images/floorplan/living_room_pc_light_on.png diff --git a/www/images/floorplan/master_bedroom_all_lights_on.png b/config/www/images/floorplan/master_bedroom_all_lights_on.png similarity index 100% rename from www/images/floorplan/master_bedroom_all_lights_on.png rename to config/www/images/floorplan/master_bedroom_all_lights_on.png diff --git a/www/images/floorplan/master_bedroom_bedside_light_on.png b/config/www/images/floorplan/master_bedroom_bedside_light_on.png similarity index 100% rename from www/images/floorplan/master_bedroom_bedside_light_on.png rename to config/www/images/floorplan/master_bedroom_bedside_light_on.png diff --git a/www/images/floorplan/master_bedroom_main_lights_on.png b/config/www/images/floorplan/master_bedroom_main_lights_on.png similarity index 100% rename from www/images/floorplan/master_bedroom_main_lights_on.png rename to config/www/images/floorplan/master_bedroom_main_lights_on.png diff --git a/www/images/floorplan/transparent.png b/config/www/images/floorplan/transparent.png similarity index 100% rename from www/images/floorplan/transparent.png rename to config/www/images/floorplan/transparent.png diff --git a/www/images/remotes/bulsatcom.png b/config/www/images/remotes/bulsatcom.png similarity index 100% rename from www/images/remotes/bulsatcom.png rename to config/www/images/remotes/bulsatcom.png diff --git a/www/images/remotes/hdmi_switch_new.png b/config/www/images/remotes/hdmi_switch_new.png similarity index 100% rename from www/images/remotes/hdmi_switch_new.png rename to config/www/images/remotes/hdmi_switch_new.png diff --git a/www/images/remotes/hdmi_switcher.png b/config/www/images/remotes/hdmi_switcher.png similarity index 100% rename from www/images/remotes/hdmi_switcher.png rename to config/www/images/remotes/hdmi_switcher.png diff --git a/www/images/wallpapers-3/bathroom.jpg b/config/www/images/wallpapers-3/bathroom.jpg similarity index 100% rename from www/images/wallpapers-3/bathroom.jpg rename to config/www/images/wallpapers-3/bathroom.jpg diff --git a/www/images/wallpapers-3/bathroom_2.jpg b/config/www/images/wallpapers-3/bathroom_2.jpg similarity index 100% rename from www/images/wallpapers-3/bathroom_2.jpg rename to config/www/images/wallpapers-3/bathroom_2.jpg diff --git a/www/images/wallpapers-3/bedroom.jpg b/config/www/images/wallpapers-3/bedroom.jpg similarity index 100% rename from www/images/wallpapers-3/bedroom.jpg rename to config/www/images/wallpapers-3/bedroom.jpg diff --git a/www/images/wallpapers-3/hallway.jpg b/config/www/images/wallpapers-3/hallway.jpg similarity index 100% rename from www/images/wallpapers-3/hallway.jpg rename to config/www/images/wallpapers-3/hallway.jpg diff --git a/www/images/wallpapers-3/hallway_2.jpg b/config/www/images/wallpapers-3/hallway_2.jpg similarity index 100% rename from www/images/wallpapers-3/hallway_2.jpg rename to config/www/images/wallpapers-3/hallway_2.jpg diff --git a/www/images/wallpapers-3/kitchen.jpg b/config/www/images/wallpapers-3/kitchen.jpg similarity index 100% rename from www/images/wallpapers-3/kitchen.jpg rename to config/www/images/wallpapers-3/kitchen.jpg diff --git a/www/images/wallpapers-3/kitchen_2.jpg b/config/www/images/wallpapers-3/kitchen_2.jpg similarity index 100% rename from www/images/wallpapers-3/kitchen_2.jpg rename to config/www/images/wallpapers-3/kitchen_2.jpg diff --git a/www/images/wallpapers-3/kitchen_3.jpg b/config/www/images/wallpapers-3/kitchen_3.jpg similarity index 100% rename from www/images/wallpapers-3/kitchen_3.jpg rename to config/www/images/wallpapers-3/kitchen_3.jpg diff --git a/www/images/wallpapers-3/living_room.jpg b/config/www/images/wallpapers-3/living_room.jpg similarity index 100% rename from www/images/wallpapers-3/living_room.jpg rename to config/www/images/wallpapers-3/living_room.jpg diff --git a/www/images/wallpapers-3/living_room_2.jpg b/config/www/images/wallpapers-3/living_room_2.jpg similarity index 100% rename from www/images/wallpapers-3/living_room_2.jpg rename to config/www/images/wallpapers-3/living_room_2.jpg diff --git a/www/images/wallpapers-3/preferences.jpg b/config/www/images/wallpapers-3/preferences.jpg similarity index 100% rename from www/images/wallpapers-3/preferences.jpg rename to config/www/images/wallpapers-3/preferences.jpg diff --git a/www/images/wallpapers-3/preferences_2.jpg b/config/www/images/wallpapers-3/preferences_2.jpg similarity index 100% rename from www/images/wallpapers-3/preferences_2.jpg rename to config/www/images/wallpapers-3/preferences_2.jpg diff --git a/www/images/wallpapers-3/terrarium.jpg b/config/www/images/wallpapers-3/terrarium.jpg similarity index 100% rename from www/images/wallpapers-3/terrarium.jpg rename to config/www/images/wallpapers-3/terrarium.jpg diff --git a/custom_scripts/youtube_download.py b/custom_scripts/youtube_download.py deleted file mode 100644 index a63fd6a..0000000 --- a/custom_scripts/youtube_download.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/python3.7 - -import sys -import youtube_dl -import os - -youtube_url = sys.argv[1] -out_name = sys.argv[2] if len(sys.argv) > 2 else 'temp' -out_folder = sys.argv[3] if len(sys.argv) > 3 else '' - -full_file_path = f"""/www/audio/youtube/{out_folder}{out_name}""" - -ydl = youtube_dl.YoutubeDL({'format': 'bestaudio', 'outtmpl': full_file_path}) - -with ydl: - result = ydl.extract_info(youtube_url, download=True) - os.system( - f"""ffmpeg -i {full_file_path} -acodec libmp3lame {full_file_path}.mp3""") - os.system(f"""rm {full_file_path}""")