diff --git a/.devcontainer/configuration.yaml b/.devcontainer/configuration.yaml deleted file mode 100644 index 00636e8..0000000 --- a/.devcontainer/configuration.yaml +++ /dev/null @@ -1,210 +0,0 @@ -default_config: -lovelace: - mode: yaml - resources: - - url: http://127.0.0.1:5000/power-flow-card-plus.js - type: module -demo: - -input_number: - solar_power: - name: Solar Power - min: 0 - max: 5000 - step: 1 - mode: box - unit_of_measurement: "W" - solar_secondary: - name: Solar Secondary - min: 0 - max: 100 - step: 1 - mode: box - unit_of_measurement: "%" - home_power: - name: Home Power - min: 0 - max: 5000 - step: 1 - mode: box - unit_of_measurement: "W" - home_secondary: - name: Home Secondary - min: 0 - max: 100 - step: 1 - mode: box - unit_of_measurement: "%" - battery_power: - name: Battery Power - min: -5000 - max: 5000 - step: 1 - mode: box - unit_of_measurement: "W" - battery_secondary: - name: Battery Secondary - min: 0 - max: 100 - step: 1 - mode: box - unit_of_measurement: "%" - grid_power: - name: Grid Power - min: -5000 - max: 5000 - step: 1 - mode: box - unit_of_measurement: "W" - grid_secondary: - name: Grid Secondary - min: 0 - max: 100 - step: 1 - mode: box - unit_of_measurement: "%" - fossil_fuel_percentage: - name: Fossil Fuel Percentage - min: 0 - max: 100 - step: 0.01 - mode: box - unit_of_measurement: "%" - fossil_fuel_power: - name: Fossil Fuel Power - min: 0 - max: 5000 - step: 0.01 - mode: box - unit_of_measurement: "W" - individual1_power: - name: Individual 1 Power - min: 0 - max: 5000 - step: 1 - mode: box - unit_of_measurement: "W" - individual1_secondary: - name: Individual 1 Secondary - min: 0 - max: 100 - step: 1 - mode: box - unit_of_measurement: "%" - individual2_power: - name: Individual 2 Power - min: 0 - max: 5000 - step: 1 - mode: box - unit_of_measurement: "W" - individual2_secondary: - name: Individual 2 Secondary - min: 0 - max: 100 - step: 1 - mode: box - unit_of_measurement: "%" - individual3_power: - name: Individual 3 Power - min: 0 - max: 5000 - step: 1 - mode: box - unit_of_measurement: "W" - individual3_secondary: - name: Individual 3 Secondary - min: 0 - max: 100 - step: 1 - mode: box - unit_of_measurement: "%" - -homeassistant: - customize: - switch.skylight: - device_class: switch - -switch: - - platform: template - switches: - skylight: - value_template: "{{ states('input_number.test') | int == 255 }}" - turn_on: - service: input_number.set_value - data: - entity_id: input_number.test - value: "255" - turn_off: - service: input_number.set_value - data: - entity_id: input_number.test - value: "0" - -sensor: - - platform: template - sensors: - sensor1: - value_template: "{{ states('input_number.test') }}" - unit_of_measurement: Kb/s - raspi_cpu: - value_template: "{{ ((states('input_number.test') | int) / 255 * 100) | int }}" - unit_of_measurement: "%" - raspi_ram: - value_template: "{{ ((states('input_number.test') | int) / 255 * 100) | int }}" - unit_of_measurement: "%" - raspi_sd: - value_template: "{{ ((states('input_number.test') | int) / 255 * 100) | int }}" - unit_of_measurement: "%" - raspi_temp: - value_template: "{{ ((states('input_number.test') | int) / 255 * 100) | int }}" - unit_of_measurement: "°C" - -binary_sensor: - - platform: template - sensors: - bsensor1: - friendly_name: Binary 1 - value_template: "{{ states('switch.skylight') == 'on' }}" - device_class: door - -light: - - platform: template - lights: - test_light: - friendly_name: "Test Light" - level_template: "{{ states.sensor.sensor1.state | int }}" - value_template: "{{ states.sensor.sensor1.state | int > 0 }}" - turn_on: - service: input_number.set_value - data: - entity_id: input_number.test - value: "255" - turn_off: - service: input_number.set_value - data: - entity_id: input_number.test - value: "0" - set_level: - service: input_number.set_value - data_template: - value: "{{ brightness }}" - -alarm_control_panel: - - platform: manual - name: Home Alarm - code: 1234 - # pending_time: 30 - delay_time: 20 - trigger_time: 4 - disarmed: - trigger_time: 0 - armed_home: - # pending_time: 0 - delay_time: 0 - -timer: - laundry: - duration: "01:00:10" - -stream: diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 127e6ac..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "flixlix/power-flow-card-plus", - "image": "nikolaik/python-nodejs", - "postCreateCommand": "scripts/setup", - "forwardPorts": [ - 8123 - ], - "portsAttributes": { - "8123": { - "label": "Home Assistant", - "onAutoForward": "notify" - } - }, - "customizations": { - "vscode": { - "extensions": [ - "ms-python.python", - "github.vscode-pull-request-github", - "ryanluker.vscode-coverage-gutters", - "ms-python.vscode-pylance" - ], - "settings": { - "files.eol": "\n", - "editor.tabSize": 4, - "python.pythonPath": "/usr/bin/python3", - "python.analysis.autoSearchPaths": false, - "python.linting.pylintEnabled": true, - "python.linting.enabled": true, - "python.formatting.provider": "black", - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", - "editor.formatOnPaste": false, - "editor.formatOnSave": true, - "editor.formatOnType": true, - "files.trimTrailingWhitespace": true - } - } - }, - "remoteUser": "vscode", - "features": { - "ghcr.io/devcontainers/features/rust:1": {} - } -} \ No newline at end of file diff --git a/.devcontainer/ui-lovelace.yaml b/.devcontainer/ui-lovelace.yaml deleted file mode 100644 index ca89e32..0000000 --- a/.devcontainer/ui-lovelace.yaml +++ /dev/null @@ -1,5 +0,0 @@ -views: - - title: Main - cards: - - type: button - entity: switch.skylight \ No newline at end of file diff --git a/config/.HA_VERSION b/config/.HA_VERSION deleted file mode 100644 index a4fb2c1..0000000 --- a/config/.HA_VERSION +++ /dev/null @@ -1 +0,0 @@ -2023.8.0 \ No newline at end of file diff --git a/config/.storage/assist_pipeline.pipelines b/config/.storage/assist_pipeline.pipelines deleted file mode 100644 index 2f3e144..0000000 --- a/config/.storage/assist_pipeline.pipelines +++ /dev/null @@ -1,22 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "assist_pipeline.pipelines", - "data": { - "items": [ - { - "conversation_engine": "homeassistant", - "conversation_language": "de", - "id": "01hk9y6t5qnrs2dkdd7b8y6h0q", - "language": "de", - "name": "Home Assistant", - "stt_engine": null, - "stt_language": null, - "tts_engine": null, - "tts_language": null, - "tts_voice": null - } - ], - "preferred_item": "01hk9y6t5qnrs2dkdd7b8y6h0q" - } -} \ No newline at end of file diff --git a/config/.storage/auth b/config/.storage/auth deleted file mode 100644 index 7f385b3..0000000 --- a/config/.storage/auth +++ /dev/null @@ -1,122 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "auth", - "data": { - "users": [ - { - "id": "24cab0d31ffd4cff8ed6995e6a12ae10", - "group_ids": [ - "system-read-only" - ], - "is_owner": false, - "is_active": true, - "name": "Home Assistant Content", - "system_generated": true, - "local_only": false - }, - { - "id": "4332014890bc4a0695f82506bf9dfac2", - "group_ids": [ - "system-admin" - ], - "is_owner": true, - "is_active": true, - "name": "test", - "system_generated": false, - "local_only": false - } - ], - "groups": [ - { - "id": "system-admin", - "name": "Administrators" - }, - { - "id": "system-users", - "name": "Users" - }, - { - "id": "system-read-only", - "name": "Read Only" - } - ], - "credentials": [ - { - "id": "5f9f859d87af41aa806d40bcbb211541", - "user_id": "4332014890bc4a0695f82506bf9dfac2", - "auth_provider_type": "homeassistant", - "auth_provider_id": null, - "data": { - "username": "test" - } - } - ], - "refresh_tokens": [ - { - "id": "d052d99a0f684ad39d1ed345f26d7499", - "user_id": "24cab0d31ffd4cff8ed6995e6a12ae10", - "client_id": null, - "client_name": null, - "client_icon": null, - "token_type": "system", - "created_at": "2024-01-04T09:49:54.562090+00:00", - "access_token_expiration": 1800.0, - "token": "e31a536dae98988d3276ec678287103f5262de162896f1a708a50647b042518d7a89e82e6ed36ee915092f31ef9202a1bf8fdd92e4f865ff390e7407e2bfdce1", - "jwt_key": "268d8a4672764a219c7bbc5c0015b7f07f128c5f0252fa5aa29e6fbf6b29f52780ab2baa59f78b00754a77ec3c69263c3bda6c469c2af061b9d4d8df41ff8cc7", - "last_used_at": null, - "last_used_ip": null, - "credential_id": null, - "version": "2023.8.0" - }, - { - "id": "37f2286e29ee4ad1befb0249921c13a5", - "user_id": "4332014890bc4a0695f82506bf9dfac2", - "client_id": "http://localhost:8123/", - "client_name": null, - "client_icon": null, - "token_type": "normal", - "created_at": "2024-01-04T09:50:54.669577+00:00", - "access_token_expiration": 1800.0, - "token": "3d28c0e53a5543e65b522b6f9364c89b4471439adbd126679c3810a8a589f4c21ef6e3f83cb97324a3de01256ee57ce07ce885be3dd437f1558dfa5171fb5cb9", - "jwt_key": "07d08b02602242fd3c1d6af1a39865028f44112eaf6d8870e3fc36569e7762116e5fdda7dae8c2776a58a15e89c20c004489f9ee0795da459e6779e4d0f350bf", - "last_used_at": "2024-01-04T09:50:54.670126+00:00", - "last_used_ip": "127.0.0.1", - "credential_id": "5f9f859d87af41aa806d40bcbb211541", - "version": "2023.8.0" - }, - { - "id": "12767b361ea94c4caecfb2e6155b55dc", - "user_id": "4332014890bc4a0695f82506bf9dfac2", - "client_id": "http://localhost:8123/", - "client_name": null, - "client_icon": null, - "token_type": "normal", - "created_at": "2024-01-04T09:51:16.891109+00:00", - "access_token_expiration": 1800.0, - "token": "06feefa3d4dbcf63964405a6374d02cf0b76a42741c2a5933cf559f75a2b76be5cb130536d45d69367b96ba1e94df8adde699cf12db47e67037065be1e2ea273", - "jwt_key": "60b6aa3f49c77cded0081aa4a53106c5b3d07b0cc01c5573705238056458d09651e0c4a0369189f08181c4ba86a5ca6c09225e4351de9a228d895e7eecaef63a", - "last_used_at": "2024-01-04T09:51:16.891691+00:00", - "last_used_ip": "127.0.0.1", - "credential_id": "5f9f859d87af41aa806d40bcbb211541", - "version": "2023.8.0" - }, - { - "id": "2024d07915ca4fb1a0fc26cf7f9d9c6f", - "user_id": "4332014890bc4a0695f82506bf9dfac2", - "client_id": "http://localhost:8123/", - "client_name": null, - "client_icon": null, - "token_type": "normal", - "created_at": "2024-01-04T09:52:26.816463+00:00", - "access_token_expiration": 1800.0, - "token": "68cddfde5e5ca75090a636bec396b484fb70faf1d476236ed6a42003b522a1db538d9ac6a479e947d9aece82677d3af218d353284fd53f4c50c8071b4d02b448", - "jwt_key": "0e1812da44035cd15cd62b802f1dfdbd66193d7942ab09aabe250b05c63d06bad9669766031eea294560c366c2ad7183f1846bf325fea16df981893a245956ef", - "last_used_at": "2024-01-04T09:52:26.818466+00:00", - "last_used_ip": "127.0.0.1", - "credential_id": "5f9f859d87af41aa806d40bcbb211541", - "version": "2023.8.0" - } - ] - } -} \ No newline at end of file diff --git a/config/.storage/auth_provider.homeassistant b/config/.storage/auth_provider.homeassistant deleted file mode 100644 index 4493ca8..0000000 --- a/config/.storage/auth_provider.homeassistant +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "auth_provider.homeassistant", - "data": { - "users": [ - { - "username": "test", - "password": "JDJiJDEyJHBtUVM0OS5HclVkd004MG9QZ0o4ZWVQLkJLQ3BGbmFmVFhhOEVoOGhmVDZsV3BMN29sN1RT" - } - ] - } -} \ No newline at end of file diff --git a/config/.storage/core.analytics b/config/.storage/core.analytics deleted file mode 100644 index 300a035..0000000 --- a/config/.storage/core.analytics +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "core.analytics", - "data": { - "onboarded": true, - "preferences": {}, - "uuid": null - } -} \ No newline at end of file diff --git a/config/.storage/core.area_registry b/config/.storage/core.area_registry deleted file mode 100644 index 5ade4a8..0000000 --- a/config/.storage/core.area_registry +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": 1, - "minor_version": 3, - "key": "core.area_registry", - "data": { - "areas": [ - { - "aliases": [], - "name": "Wohnzimmer", - "id": "wohnzimmer", - "picture": null - }, - { - "aliases": [], - "name": "Küche", - "id": "kuche", - "picture": null - }, - { - "aliases": [], - "name": "Schlafzimmer", - "id": "schlafzimmer", - "picture": null - } - ] - } -} \ No newline at end of file diff --git a/config/.storage/core.config b/config/.storage/core.config deleted file mode 100644 index 9b2add1..0000000 --- a/config/.storage/core.config +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "minor_version": 3, - "key": "core.config", - "data": { - "latitude": 52.3769091109999, - "longitude": 4.896898119902229, - "elevation": 0, - "unit_system_v2": "metric", - "location_name": "Home", - "time_zone": "Europe/Berlin", - "external_url": null, - "internal_url": null, - "currency": "EUR", - "country": "DE", - "language": "de" - } -} \ No newline at end of file diff --git a/config/.storage/core.config_entries b/config/.storage/core.config_entries deleted file mode 100644 index 1b63e00..0000000 --- a/config/.storage/core.config_entries +++ /dev/null @@ -1,50 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "core.config_entries", - "data": { - "entries": [ - { - "entry_id": "adad8618444249dc30da8bcab2ab2e1d", - "version": 1, - "domain": "radio_browser", - "title": "Radio Browser", - "data": {}, - "options": {}, - "pref_disable_new_entities": false, - "pref_disable_polling": false, - "source": "onboarding", - "unique_id": null, - "disabled_by": null - }, - { - "entry_id": "68b9654fad0b8c7ab1451271a3e5ec33", - "version": 1, - "domain": "met", - "title": "Home", - "data": { - "track_home": true - }, - "options": {}, - "pref_disable_new_entities": false, - "pref_disable_polling": false, - "source": "onboarding", - "unique_id": null, - "disabled_by": null - }, - { - "entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "version": 1, - "domain": "sun", - "title": "Sun", - "data": {}, - "options": {}, - "pref_disable_new_entities": false, - "pref_disable_polling": false, - "source": "import", - "unique_id": null, - "disabled_by": null - } - ] - } -} \ No newline at end of file diff --git a/config/.storage/core.device_registry b/config/.storage/core.device_registry deleted file mode 100644 index f949b6f..0000000 --- a/config/.storage/core.device_registry +++ /dev/null @@ -1,57 +0,0 @@ -{ - "version": 1, - "minor_version": 3, - "key": "core.device_registry", - "data": { - "devices": [ - { - "area_id": null, - "config_entries": [ - "68b9654fad0b8c7ab1451271a3e5ec33" - ], - "configuration_url": "https://www.met.no/en", - "connections": [], - "disabled_by": null, - "entry_type": "service", - "hw_version": null, - "id": "a81fdade5e278d57f71ef20fba76ef93", - "identifiers": [ - [ - "met" - ] - ], - "manufacturer": "Met.no", - "model": "Forecast", - "name_by_user": null, - "name": "Forecast", - "sw_version": null, - "via_device_id": null - }, - { - "area_id": null, - "config_entries": [ - "6d4b1a78cd50589fc2fdd3113437be9d" - ], - "configuration_url": null, - "connections": [], - "disabled_by": null, - "entry_type": "service", - "hw_version": null, - "id": "2597bc884eff2c0b868d056a84738bb0", - "identifiers": [ - [ - "sun", - "6d4b1a78cd50589fc2fdd3113437be9d" - ] - ], - "manufacturer": null, - "model": null, - "name_by_user": null, - "name": "Sun", - "sw_version": null, - "via_device_id": null - } - ], - "deleted_devices": [] - } -} \ No newline at end of file diff --git a/config/.storage/core.entity_registry b/config/.storage/core.entity_registry deleted file mode 100644 index a6d6f64..0000000 --- a/config/.storage/core.entity_registry +++ /dev/null @@ -1,325 +0,0 @@ -{ - "version": 1, - "minor_version": 11, - "key": "core.entity_registry", - "data": { - "entities": [ - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": null, - "device_class": null, - "device_id": null, - "disabled_by": null, - "entity_category": null, - "entity_id": "person.test", - "hidden_by": null, - "icon": null, - "id": "7d7a5b17f5c37bcc3a4fde84d3de54a3", - "has_entity_name": false, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": null, - "original_icon": null, - "original_name": "test", - "platform": "person", - "supported_features": 0, - "translation_key": null, - "unique_id": "test", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "68b9654fad0b8c7ab1451271a3e5ec33", - "device_class": null, - "device_id": "a81fdade5e278d57f71ef20fba76ef93", - "disabled_by": null, - "entity_category": null, - "entity_id": "weather.forecast_home", - "hidden_by": null, - "icon": null, - "id": "d6a34c6b6b757b3d00cbe562fbd0ca13", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": null, - "original_icon": null, - "original_name": "Home", - "platform": "met", - "supported_features": 0, - "translation_key": null, - "unique_id": "home", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "68b9654fad0b8c7ab1451271a3e5ec33", - "device_class": null, - "device_id": "a81fdade5e278d57f71ef20fba76ef93", - "disabled_by": "integration", - "entity_category": null, - "entity_id": "weather.forecast_home_hourly", - "hidden_by": null, - "icon": null, - "id": "29361ce95d4152999d33c55dd29d42af", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": null, - "original_icon": null, - "original_name": "Home hourly", - "platform": "met", - "supported_features": 0, - "translation_key": null, - "unique_id": "home-hourly", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": null, - "entity_category": "diagnostic", - "entity_id": "sensor.sun_next_dawn", - "hidden_by": null, - "icon": null, - "id": "87b4ff0da8014fdda689cdb6609c11db", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": "timestamp", - "original_icon": "mdi:sun-clock", - "original_name": "Nächste Morgendämmerung", - "platform": "sun", - "supported_features": 0, - "translation_key": "next_dawn", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-next_dawn", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": null, - "entity_category": "diagnostic", - "entity_id": "sensor.sun_next_dusk", - "hidden_by": null, - "icon": null, - "id": "c76b5c1ee7955dfc5ab8aa98e1710c98", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": "timestamp", - "original_icon": "mdi:sun-clock", - "original_name": "Nächste Abenddämmerung", - "platform": "sun", - "supported_features": 0, - "translation_key": "next_dusk", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-next_dusk", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": null, - "entity_category": "diagnostic", - "entity_id": "sensor.sun_next_midnight", - "hidden_by": null, - "icon": null, - "id": "c6fab570bbdf8c29cb47ac2d3f9902fd", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": "timestamp", - "original_icon": "mdi:sun-clock", - "original_name": "Nächste Mitternacht", - "platform": "sun", - "supported_features": 0, - "translation_key": "next_midnight", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-next_midnight", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": null, - "entity_category": "diagnostic", - "entity_id": "sensor.sun_next_noon", - "hidden_by": null, - "icon": null, - "id": "560ca465c6d87c5d7f0d38e6d4a2bd7f", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": "timestamp", - "original_icon": "mdi:sun-clock", - "original_name": "Nächsten Mittag", - "platform": "sun", - "supported_features": 0, - "translation_key": "next_noon", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-next_noon", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": null, - "entity_category": "diagnostic", - "entity_id": "sensor.sun_next_rising", - "hidden_by": null, - "icon": null, - "id": "f3e07c523038aadc40738785dbf24294", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": "timestamp", - "original_icon": "mdi:sun-clock", - "original_name": "Nächster Sonnenaufgang", - "platform": "sun", - "supported_features": 0, - "translation_key": "next_rising", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-next_rising", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": null, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": null, - "entity_category": "diagnostic", - "entity_id": "sensor.sun_next_setting", - "hidden_by": null, - "icon": null, - "id": "fe5d65c999dfe6f471abd63112607ab3", - "has_entity_name": true, - "name": null, - "options": { - "conversation": { - "should_expose": false - } - }, - "original_device_class": "timestamp", - "original_icon": "mdi:sun-clock", - "original_name": "Nächster Sonnenuntergang", - "platform": "sun", - "supported_features": 0, - "translation_key": "next_setting", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-next_setting", - "unit_of_measurement": null - }, - { - "aliases": [], - "area_id": null, - "capabilities": { - "state_class": "measurement" - }, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": "integration", - "entity_category": "diagnostic", - "entity_id": "sensor.sun_solar_elevation", - "hidden_by": null, - "icon": null, - "id": "375fdc1e084b232e172191738f0833e2", - "has_entity_name": true, - "name": null, - "options": {}, - "original_device_class": null, - "original_icon": "mdi:theme-light-dark", - "original_name": "Sonnenhöhe", - "platform": "sun", - "supported_features": 0, - "translation_key": "solar_elevation", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-solar_elevation", - "unit_of_measurement": "°" - }, - { - "aliases": [], - "area_id": null, - "capabilities": { - "state_class": "measurement" - }, - "config_entry_id": "6d4b1a78cd50589fc2fdd3113437be9d", - "device_class": null, - "device_id": "2597bc884eff2c0b868d056a84738bb0", - "disabled_by": "integration", - "entity_category": "diagnostic", - "entity_id": "sensor.sun_solar_azimuth", - "hidden_by": null, - "icon": null, - "id": "71812c2d7a31ec1a366eb1ec1632ae2d", - "has_entity_name": true, - "name": null, - "options": {}, - "original_device_class": null, - "original_icon": "mdi:sun-angle", - "original_name": "Azimut", - "platform": "sun", - "supported_features": 0, - "translation_key": "solar_azimuth", - "unique_id": "6d4b1a78cd50589fc2fdd3113437be9d-solar_azimuth", - "unit_of_measurement": "°" - } - ], - "deleted_entities": [] - } -} \ No newline at end of file diff --git a/config/.storage/core.restore_state b/config/.storage/core.restore_state deleted file mode 100644 index cd1e91a..0000000 --- a/config/.storage/core.restore_state +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "core.restore_state", - "data": [ - { - "state": { - "entity_id": "person.test", - "state": "unknown", - "attributes": { - "editable": true, - "id": "test", - "user_id": "4332014890bc4a0695f82506bf9dfac2", - "device_trackers": [], - "friendly_name": "test" - }, - "last_changed": "2024-01-04T09:50:54.519129+00:00", - "last_updated": "2024-01-04T09:50:54.519129+00:00", - "context": { - "id": "01HK9Y41HQJH1TFGKW53GSZ11N", - "parent_id": null, - "user_id": null - } - }, - "extra_data": null, - "last_seen": "2024-01-04T09:52:40.019607+00:00" - } - ] -} \ No newline at end of file diff --git a/config/.storage/core.uuid b/config/.storage/core.uuid deleted file mode 100644 index a58dd83..0000000 --- a/config/.storage/core.uuid +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "core.uuid", - "data": { - "uuid": "f651f0fb558a4765a9bb36ed96bffe52" - } -} \ No newline at end of file diff --git a/config/.storage/homeassistant.exposed_entities b/config/.storage/homeassistant.exposed_entities deleted file mode 100644 index 3efd43b..0000000 --- a/config/.storage/homeassistant.exposed_entities +++ /dev/null @@ -1,24 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "homeassistant.exposed_entities", - "data": { - "assistants": {}, - "exposed_entities": { - "zone.home": { - "assistants": { - "conversation": { - "should_expose": false - } - } - }, - "sun.sun": { - "assistants": { - "conversation": { - "should_expose": false - } - } - } - } - } -} \ No newline at end of file diff --git a/config/.storage/http b/config/.storage/http deleted file mode 100644 index 50bed72..0000000 --- a/config/.storage/http +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "http", - "data": { - "server_port": 8123, - "ssl_profile": "modern", - "cors_allowed_origins": [ - "https://cast.home-assistant.io" - ], - "login_attempts_threshold": -1, - "ip_ban_enabled": true - } -} \ No newline at end of file diff --git a/config/.storage/http.auth b/config/.storage/http.auth deleted file mode 100644 index a3c50fd..0000000 --- a/config/.storage/http.auth +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "http.auth", - "data": { - "content_user": "24cab0d31ffd4cff8ed6995e6a12ae10" - } -} \ No newline at end of file diff --git a/config/.storage/lovelace b/config/.storage/lovelace deleted file mode 100644 index 7464a72..0000000 --- a/config/.storage/lovelace +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "lovelace", - "data": { - "config": { - "views": [ - { - "title": "Home" - } - ] - } - } -} \ No newline at end of file diff --git a/config/.storage/onboarding b/config/.storage/onboarding deleted file mode 100644 index 663b719..0000000 --- a/config/.storage/onboarding +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": 4, - "minor_version": 1, - "key": "onboarding", - "data": { - "done": [ - "user", - "core_config", - "analytics", - "integration" - ] - } -} \ No newline at end of file diff --git a/config/.storage/person b/config/.storage/person deleted file mode 100644 index 44cb78c..0000000 --- a/config/.storage/person +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": 2, - "minor_version": 1, - "key": "person", - "data": { - "items": [ - { - "id": "test", - "name": "test", - "user_id": "4332014890bc4a0695f82506bf9dfac2", - "device_trackers": [] - } - ] - } -} \ No newline at end of file diff --git a/config/.storage/repairs.issue_registry b/config/.storage/repairs.issue_registry deleted file mode 100644 index 3a93366..0000000 --- a/config/.storage/repairs.issue_registry +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 1, - "minor_version": 2, - "key": "repairs.issue_registry", - "data": { - "issues": [] - } -} \ No newline at end of file diff --git a/config/automations.yaml b/config/automations.yaml deleted file mode 100644 index 0637a08..0000000 --- a/config/automations.yaml +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/config/blueprints/automation/homeassistant/motion_light.yaml b/config/blueprints/automation/homeassistant/motion_light.yaml deleted file mode 100644 index 5b389a3..0000000 --- a/config/blueprints/automation/homeassistant/motion_light.yaml +++ /dev/null @@ -1,55 +0,0 @@ -blueprint: - name: Motion-activated Light - description: Turn on a light when motion is detected. - domain: automation - source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml - author: Home Assistant - input: - motion_entity: - name: Motion Sensor - selector: - entity: - domain: binary_sensor - device_class: motion - light_target: - name: Light - selector: - target: - entity: - domain: light - no_motion_wait: - name: Wait time - description: Time to leave the light on after last motion is detected. - default: 120 - selector: - number: - min: 0 - max: 3600 - unit_of_measurement: seconds - -# If motion is detected within the delay, -# we restart the script. -mode: restart -max_exceeded: silent - -trigger: - platform: state - entity_id: !input motion_entity - from: "off" - to: "on" - -action: - - alias: "Turn on the light" - service: light.turn_on - target: !input light_target - - alias: "Wait until there is no motion from device" - wait_for_trigger: - platform: state - entity_id: !input motion_entity - from: "on" - to: "off" - - alias: "Wait the number of seconds that has been set" - delay: !input no_motion_wait - - alias: "Turn off the light" - service: light.turn_off - target: !input light_target diff --git a/config/blueprints/automation/homeassistant/notify_leaving_zone.yaml b/config/blueprints/automation/homeassistant/notify_leaving_zone.yaml deleted file mode 100644 index 0798a05..0000000 --- a/config/blueprints/automation/homeassistant/notify_leaving_zone.yaml +++ /dev/null @@ -1,47 +0,0 @@ -blueprint: - name: Zone Notification - description: Send a notification to a device when a person leaves a specific zone. - domain: automation - source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml - author: Home Assistant - input: - person_entity: - name: Person - selector: - entity: - domain: person - zone_entity: - name: Zone - selector: - entity: - domain: zone - notify_device: - name: Device to notify - description: Device needs to run the official Home Assistant app to receive notifications. - selector: - device: - integration: mobile_app - -trigger: - platform: state - entity_id: !input person_entity - -variables: - zone_entity: !input zone_entity - # This is the state of the person when it's in this zone. - zone_state: "{{ states[zone_entity].name }}" - person_entity: !input person_entity - person_name: "{{ states[person_entity].name }}" - -condition: - condition: template - # The first case handles leaving the Home zone which has a special state when zoning called 'home'. - # The second case handles leaving all other zones. - value_template: "{{ zone_entity == 'zone.home' and trigger.from_state.state == 'home' and trigger.to_state.state != 'home' or trigger.from_state.state == zone_state and trigger.to_state.state != zone_state }}" - -action: - - alias: "Notify that a person has left the zone" - domain: mobile_app - type: notify - device_id: !input notify_device - message: "{{ person_name }} has left {{ zone_state }}" diff --git a/config/blueprints/script/homeassistant/confirmable_notification.yaml b/config/blueprints/script/homeassistant/confirmable_notification.yaml deleted file mode 100644 index 37e0435..0000000 --- a/config/blueprints/script/homeassistant/confirmable_notification.yaml +++ /dev/null @@ -1,85 +0,0 @@ -blueprint: - name: Confirmable Notification - description: >- - A script that sends an actionable notification with a confirmation before - running the specified action. - domain: script - source_url: https://github.com/home-assistant/core/blob/master/homeassistant/components/script/blueprints/confirmable_notification.yaml - author: Home Assistant - input: - notify_device: - name: Device to notify - description: Device needs to run the official Home Assistant app to receive notifications. - selector: - device: - integration: mobile_app - title: - name: "Title" - description: "The title of the button shown in the notification." - default: "" - selector: - text: - message: - name: "Message" - description: "The message body" - selector: - text: - confirm_text: - name: "Confirmation Text" - description: "Text to show on the confirmation button" - default: "Confirm" - selector: - text: - confirm_action: - name: "Confirmation Action" - description: "Action to run when notification is confirmed" - default: [] - selector: - action: - dismiss_text: - name: "Dismiss Text" - description: "Text to show on the dismiss button" - default: "Dismiss" - selector: - text: - dismiss_action: - name: "Dismiss Action" - description: "Action to run when notification is dismissed" - default: [] - selector: - action: - -mode: restart - -sequence: - - alias: "Set up variables" - variables: - action_confirm: "{{ 'CONFIRM_' ~ context.id }}" - action_dismiss: "{{ 'DISMISS_' ~ context.id }}" - - alias: "Send notification" - domain: mobile_app - type: notify - device_id: !input notify_device - title: !input title - message: !input message - data: - actions: - - action: "{{ action_confirm }}" - title: !input confirm_text - - action: "{{ action_dismiss }}" - title: !input dismiss_text - - alias: "Awaiting response" - wait_for_trigger: - - platform: event - event_type: mobile_app_notification_action - event_data: - action: "{{ action_confirm }}" - - platform: event - event_type: mobile_app_notification_action - event_data: - action: "{{ action_dismiss }}" - - choose: - - conditions: "{{ wait.trigger.event.data.action == action_confirm }}" - sequence: !input confirm_action - - conditions: "{{ wait.trigger.event.data.action == action_dismiss }}" - sequence: !input dismiss_action diff --git a/config/configuration.yaml b/config/configuration.yaml deleted file mode 100644 index 2bf923b..0000000 --- a/config/configuration.yaml +++ /dev/null @@ -1,11 +0,0 @@ - -# Loads default set of integrations. Do not remove. -default_config: - -# Load frontend themes from the themes folder -frontend: - themes: !include_dir_merge_named themes - -automation: !include automations.yaml -script: !include scripts.yaml -scene: !include scenes.yaml diff --git a/config/home-assistant.log b/config/home-assistant.log deleted file mode 100644 index 7b312a5..0000000 --- a/config/home-assistant.log +++ /dev/null @@ -1,295 +0,0 @@ -2024-01-04 09:50:08.187 WARNING (MainThread) [asyncio] Executing wait_for= cb=[set.remove(), Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> cb=[set.remove(), Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> took 0.713 seconds -2024-01-04 09:50:38.780 WARNING (MainThread) [asyncio] Executing cb=[set.remove(), Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> took 0.109 seconds -2024-01-04 09:51:27.167 WARNING (MainThread) [asyncio] Executing wait_for= cb=[set.remove(), Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> cb=[set.remove(), Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> took 0.151 seconds -2024-01-04 09:51:55.391 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration google_translate: No module named 'mutagen' -2024-01-04 09:51:55.395 ERROR (MainThread) [aiohttp.server] Error handling request -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/config_entries.py", line 2037, in _load_integration - integration.get_platform("config_flow") - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 833, in get_platform - cache[full_name] = self._import_platform(platform_name) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 850, in _import_platform - return importlib.import_module(f"{self.pkg_path}.{platform_name}") - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module - return _bootstrap._gcd_import(name[level:], package, level) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "", line 1204, in _gcd_import - File "", line 1176, in _find_and_load - File "", line 1147, in _find_and_load_unlocked - File "", line 690, in _load_unlocked - File "", line 940, in exec_module - File "", line 241, in _call_with_frames_removed - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/google_translate/config_flow.py", line 9, in - from homeassistant.components.tts import CONF_LANG - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/tts/__init__.py", line 19, in - import mutagen -ModuleNotFoundError: No module named 'mutagen' - -During handling of the above exception, another exception occurred: - -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request - resp = await request_handler(request) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle - resp = await handler(request) - ^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl - return await handler(request) - ^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware - return await handler(request) - ^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware - return await handler(request) - ^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware - return await handler(request) - ^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/http/ban.py", line 80, in ban_middleware - return await handler(request) - ^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/http/auth.py", line 236, in auth_middleware - return await handler(request) - ^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/http/view.py", line 148, in handle - result = await handler(request, **request.match_info) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/onboarding/views.py", line 208, in post - await asyncio.gather( - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/config_entries.py", line 847, in async_init - flow, result = await task - ^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/config_entries.py", line 865, in _async_init - flow = await self.async_create_flow(handler, context=context, data=data) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/config_entries.py", line 967, in async_create_flow - await _load_integration(self.hass, handler_key, self._hass_config) - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/config_entries.py", line 2044, in _load_integration - raise data_entry_flow.UnknownHandler -homeassistant.data_entry_flow.UnknownHandler -2024-01-04 09:52:24.320 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component homeassistant.components.cloud -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 813, in get_component - ComponentProtocol, importlib.import_module(self.pkg_path) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module - return _bootstrap._gcd_import(name[level:], package, level) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "", line 1204, in _gcd_import - File "", line 1176, in _find_and_load - File "", line 1147, in _find_and_load_unlocked - File "", line 690, in _load_unlocked - File "", line 940, in exec_module - File "", line 241, in _call_with_frames_removed - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/cloud/__init__.py", line 9, in - from hass_nabucasa import Cloud - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/__init__.py", line 15, in - from .auth import CloudError, CognitoAuth - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/auth.py", line 11, in - import boto3 - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/__init__.py", line 17, in - from boto3.session import Session - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/session.py", line 17, in - import botocore.session - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/session.py", line 26, in - import botocore.client - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/client.py", line 15, in - from botocore import waiter, xform_name - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/waiter.py", line 18, in - from botocore.docs.docstring import WaiterDocstring - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/__init__.py", line 15, in - from botocore.docs.service import ServiceDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/service.py", line 14, in - from botocore.docs.client import ( - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/client.py", line 18, in - from botocore.docs.example import ResponseExampleDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/example.py", line 13, in - from botocore.docs.shape import ShapeDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/shape.py", line 19, in - from botocore.utils import is_json_value_header - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/utils.py", line 39, in - import botocore.httpsession - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/httpsession.py", line 45, in - from urllib3.contrib.pyopenssl import ( - File "/home/vscode/.local/lib/python3.11/site-packages/urllib3/contrib/pyopenssl.py", line 97, in - util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD, - ^^^^^^^^^^^^^^^^^ -AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS' -2024-01-04 09:52:24.328 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component: Exception importing homeassistant.components.cloud -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 813, in get_component - ComponentProtocol, importlib.import_module(self.pkg_path) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module - return _bootstrap._gcd_import(name[level:], package, level) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "", line 1204, in _gcd_import - File "", line 1176, in _find_and_load - File "", line 1147, in _find_and_load_unlocked - File "", line 690, in _load_unlocked - File "", line 940, in exec_module - File "", line 241, in _call_with_frames_removed - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/cloud/__init__.py", line 9, in - from hass_nabucasa import Cloud - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/__init__.py", line 15, in - from .auth import CloudError, CognitoAuth - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/auth.py", line 11, in - import boto3 - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/__init__.py", line 17, in - from boto3.session import Session - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/session.py", line 17, in - import botocore.session - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/session.py", line 26, in - import botocore.client - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/client.py", line 15, in - from botocore import waiter, xform_name - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/waiter.py", line 18, in - from botocore.docs.docstring import WaiterDocstring - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/__init__.py", line 15, in - from botocore.docs.service import ServiceDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/service.py", line 14, in - from botocore.docs.client import ( - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/client.py", line 18, in - from botocore.docs.example import ResponseExampleDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/example.py", line 13, in - from botocore.docs.shape import ShapeDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/shape.py", line 19, in - from botocore.utils import is_json_value_header - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/utils.py", line 39, in - import botocore.httpsession - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/httpsession.py", line 45, in - from urllib3.contrib.pyopenssl import ( - File "/home/vscode/.local/lib/python3.11/site-packages/urllib3/contrib/pyopenssl.py", line 97, in - util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD, - ^^^^^^^^^^^^^^^^^ -AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS' - -The above exception was the direct cause of the following exception: - -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/setup.py", line 215, in _async_setup_component - component = integration.get_component() - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 821, in get_component - raise ImportError(f"Exception importing {self.pkg_path}") from err -ImportError: Exception importing homeassistant.components.cloud -2024-01-04 09:52:24.464 WARNING (MainThread) [asyncio] Executing cb=[set.remove(), Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> took 0.111 seconds -2024-01-04 09:52:24.738 WARNING (MainThread) [asyncio] Executing wait_for=._call_check_cancel() at /usr/local/lib/python3.11/asyncio/futures.py:387, <1 more>, Task.task_wakeup()] created at /usr/local/lib/python3.11/asyncio/base_events.py:427> cb=[set.remove(), Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> took 0.125 seconds -2024-01-04 09:52:24.866 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: zone, scene, hardware, tag, timer, schedule, input_button, input_boolean, tts, counter, input_text, input_datetime, sun, input_select, input_number -2024-01-04 09:52:37.411 WARNING (MainThread) [asyncio] Executing cb=[set.remove(), <1 more>, Task.task_wakeup()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:558> took 0.369 seconds -2024-01-04 09:52:39.992 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component homeassistant.components.mobile_app -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 813, in get_component - ComponentProtocol, importlib.import_module(self.pkg_path) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module - return _bootstrap._gcd_import(name[level:], package, level) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "", line 1204, in _gcd_import - File "", line 1176, in _find_and_load - File "", line 1147, in _find_and_load_unlocked - File "", line 690, in _load_unlocked - File "", line 940, in exec_module - File "", line 241, in _call_with_frames_removed - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/mobile_app/__init__.py", line 5, in - from homeassistant.components import cloud, notify as hass_notify - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/cloud/__init__.py", line 9, in - from hass_nabucasa import Cloud - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/__init__.py", line 15, in - from .auth import CloudError, CognitoAuth - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/auth.py", line 11, in - import boto3 - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/__init__.py", line 17, in - from boto3.session import Session - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/session.py", line 17, in - import botocore.session - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/session.py", line 26, in - import botocore.client - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/client.py", line 15, in - from botocore import waiter, xform_name - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/waiter.py", line 18, in - from botocore.docs.docstring import WaiterDocstring - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/__init__.py", line 15, in - from botocore.docs.service import ServiceDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/service.py", line 14, in - from botocore.docs.client import ( - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/client.py", line 18, in - from botocore.docs.example import ResponseExampleDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/example.py", line 13, in - from botocore.docs.shape import ShapeDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/shape.py", line 19, in - from botocore.utils import is_json_value_header - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/utils.py", line 39, in - import botocore.httpsession - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/httpsession.py", line 45, in - from urllib3.contrib.pyopenssl import ( - File "/home/vscode/.local/lib/python3.11/site-packages/urllib3/contrib/pyopenssl.py", line 97, in - util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD, - ^^^^^^^^^^^^^^^^^ -AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS' -2024-01-04 09:52:39.997 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Unable to import component: Exception importing homeassistant.components.mobile_app -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 813, in get_component - ComponentProtocol, importlib.import_module(self.pkg_path) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module - return _bootstrap._gcd_import(name[level:], package, level) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "", line 1204, in _gcd_import - File "", line 1176, in _find_and_load - File "", line 1147, in _find_and_load_unlocked - File "", line 690, in _load_unlocked - File "", line 940, in exec_module - File "", line 241, in _call_with_frames_removed - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/mobile_app/__init__.py", line 5, in - from homeassistant.components import cloud, notify as hass_notify - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/cloud/__init__.py", line 9, in - from hass_nabucasa import Cloud - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/__init__.py", line 15, in - from .auth import CloudError, CognitoAuth - File "/home/vscode/.local/lib/python3.11/site-packages/hass_nabucasa/auth.py", line 11, in - import boto3 - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/__init__.py", line 17, in - from boto3.session import Session - File "/home/vscode/.local/lib/python3.11/site-packages/boto3/session.py", line 17, in - import botocore.session - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/session.py", line 26, in - import botocore.client - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/client.py", line 15, in - from botocore import waiter, xform_name - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/waiter.py", line 18, in - from botocore.docs.docstring import WaiterDocstring - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/__init__.py", line 15, in - from botocore.docs.service import ServiceDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/service.py", line 14, in - from botocore.docs.client import ( - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/client.py", line 18, in - from botocore.docs.example import ResponseExampleDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/example.py", line 13, in - from botocore.docs.shape import ShapeDocumenter - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/docs/shape.py", line 19, in - from botocore.utils import is_json_value_header - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/utils.py", line 39, in - import botocore.httpsession - File "/home/vscode/.local/lib/python3.11/site-packages/botocore/httpsession.py", line 45, in - from urllib3.contrib.pyopenssl import ( - File "/home/vscode/.local/lib/python3.11/site-packages/urllib3/contrib/pyopenssl.py", line 97, in - util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD, - ^^^^^^^^^^^^^^^^^ -AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS' - -The above exception was the direct cause of the following exception: - -Traceback (most recent call last): - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/setup.py", line 215, in _async_setup_component - component = integration.get_component() - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - File "/home/vscode/.local/lib/python3.11/site-packages/homeassistant/loader.py", line 821, in get_component - raise ImportError(f"Exception importing {self.pkg_path}") from err -ImportError: Exception importing homeassistant.components.mobile_app -2024-01-04 09:52:40.004 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, mobile_app -2024-01-04 09:52:40.005 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: cloud, mobile_app') -2024-01-04 09:52:40.371 WARNING (MainThread) [asyncio] Executing .initial_refresh() running at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/components/homeassistant_alerts/__init__.py:104> wait_for= cb=[set.remove()] created at /home/vscode/.local/lib/python3.11/site-packages/homeassistant/core.py:522> took 0.124 seconds diff --git a/config/home-assistant.log.1 b/config/home-assistant.log.1 deleted file mode 100644 index e69de29..0000000 diff --git a/config/home-assistant.log.fault b/config/home-assistant.log.fault deleted file mode 100644 index e69de29..0000000 diff --git a/config/home-assistant_v2.db b/config/home-assistant_v2.db deleted file mode 100644 index 0c7d3a9..0000000 Binary files a/config/home-assistant_v2.db and /dev/null differ diff --git a/config/home-assistant_v2.db-shm b/config/home-assistant_v2.db-shm deleted file mode 100644 index 29ffac4..0000000 Binary files a/config/home-assistant_v2.db-shm and /dev/null differ diff --git a/config/home-assistant_v2.db-wal b/config/home-assistant_v2.db-wal deleted file mode 100644 index 9a9cc52..0000000 Binary files a/config/home-assistant_v2.db-wal and /dev/null differ diff --git a/config/scenes.yaml b/config/scenes.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/config/scripts.yaml b/config/scripts.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/config/secrets.yaml b/config/secrets.yaml deleted file mode 100644 index c5b900c..0000000 --- a/config/secrets.yaml +++ /dev/null @@ -1,4 +0,0 @@ - -# Use this file to store secrets like usernames and passwords. -# Learn more at https://www.home-assistant.io/docs/configuration/secrets/ -some_password: welcome diff --git a/package.json b/package.json index e2e02fe..e219e09 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "precommit": "pnpm typecheck && pnpm format:write && pnpm test" }, "dependencies": { - "@material/mwc-ripple": "^0.19.1", "@mdi/js": "^7.2.96", "custom-card-helpers": "^1.9.0", "home-assistant-js-websocket": "^8.0.1", diff --git a/scripts/develop b/scripts/develop deleted file mode 100644 index 20366e8..0000000 --- a/scripts/develop +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -set -e - -cd "$(dirname "$0")/.." - -# Create config dir if not present -if [[ ! -d "${PWD}/config" ]]; then - mkdir -p "${PWD}/config" - hass --config "${PWD}/config" --script ensure_config -fi - -# Set the path to custom_components -## This let's us have the structure we want /custom_components/integration_blueprint -## while at the same time have Home Assistant configuration inside /config -## without resulting to symlinks. -export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components" - -# Start Home Assistant -hass --config "${PWD}/config" --debug \ No newline at end of file diff --git a/scripts/lint b/scripts/lint deleted file mode 100644 index 752d23a..0000000 --- a/scripts/lint +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -e - -cd "$(dirname "$0")/.." - -ruff check . --fix \ No newline at end of file diff --git a/scripts/setup b/scripts/setup deleted file mode 100644 index abe537a..0000000 --- a/scripts/setup +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -e - -cd "$(dirname "$0")/.." - -python3 -m pip install --requirement requirements.txt \ No newline at end of file