Skip to content

Commit

Permalink
Add weather forecast to ha config
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandMoff100 committed Dec 22, 2024
1 parent 4b6d6eb commit 3d8850f
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 82 deletions.
21 changes: 21 additions & 0 deletions volumes/config/.storage/auth
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"jwt_key": "d8213eff81721687a0ea17e8d56e29f8c140015bd046c3924b2b2b4e2b8d77c095e80de14610e955d52650f503a5ec701f46626700496d2021b653f42dff8982",
"last_used_at": "2023-03-11T22:29:03.495460+00:00",
"last_used_ip": "127.0.0.1",
"expire_at": null,
"credential_id": "711894da0c83415095b3a6314ff20d86",
"version": "2023.3.3"
},
Expand All @@ -93,6 +94,7 @@
"jwt_key": "66b526e5aea268d6751e986e2d486c62ef0274113c1f660d6716b33c347db39591f11ce6be6f3af63d2afa4febc5f2322fac581f05c2e4b6d24060c79631be65",
"last_used_at": "2023-03-11T22:35:32.104562+00:00",
"last_used_ip": "127.0.0.1",
"expire_at": null,
"credential_id": "711894da0c83415095b3a6314ff20d86",
"version": "2023.3.3"
},
Expand All @@ -109,9 +111,27 @@
"jwt_key": "254697dbff6aafdda02191c86a90529745f774c0e122dd6bdbc22bf0790698f2bb7d4c956736aa8d7c804c8d92266c6b365cce3b191f8d6f10aa706ca3863aa7",
"last_used_at": "2023-03-11T22:41:41.322766+00:00",
"last_used_ip": null,
"expire_at": null,
"credential_id": null,
"version": "2023.3.3"
},
{
"id": "701b4cc2befd4b72ac99a06d7b38181e",
"user_id": "e85fc7b7b8924dc9b024ce90ad23799e",
"client_id": "http://localhost:8123/",
"client_name": null,
"client_icon": null,
"token_type": "normal",
"created_at": "2024-12-20T22:49:28.919077+00:00",
"access_token_expiration": 1800.0,
"token": "783a5dd38b8e987a6dc7263605d2ae9629487fff7a48884e4b83f39983064a49e89474b7ba0d47ec78b76af8c7ab0e5a0ecce3c0d6ec751af62355a8a3611b72",
"jwt_key": "dab8d894766cbdc856cc2475b7f3fd4cb7c1279fbb499a6c1709d5f4264d11842882a28cb3b67259cc983ff7b156781063835d81d76f0356ad0d477d1b09404d",
"last_used_at": "2024-12-20T22:49:28.919136+00:00",
"last_used_ip": "172.18.0.1",
"expire_at": 1742510968.919136,
"credential_id": "711894da0c83415095b3a6314ff20d86",
"version": "2024.12.3"
},
{
"id": "cabbfc0d5e024c2f90b998ffdbea7e61",
"user_id": "6ebcf011775a47c1bc279a1777a1e5a7",
Expand All @@ -125,6 +145,7 @@
"jwt_key": "fdeaf63844d1b702572ce014db18ff05074e775f04460ea5674653cee999b7fc0733f9eb99c835b7d6e6317e84bf418c21fcf2ceb65060675782be333896e135",
"last_used_at": null,
"last_used_ip": null,
"expire_at": null,
"credential_id": null,
"version": "2022.12.9"
}
Expand Down
23 changes: 19 additions & 4 deletions volumes/config/.storage/core.area_registry
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
{
"version": 1,
"minor_version": 1,
"minor_version": 7,
"key": "core.area_registry",
"data": {
"areas": [
{
"name": "Living Room",
"id": "living_room",
"picture": null,
"aliases": []
"aliases": [],
"icon": null,
"floor_id": null,
"labels": [],
"created_at": "1970-01-01T00:00:00+00:00",
"modified_at": "1970-01-01T00:00:00+00:00"
},
{
"name": "Kitchen",
"id": "kitchen",
"picture": null,
"aliases": []
"aliases": [],
"icon": null,
"floor_id": null,
"labels": [],
"created_at": "1970-01-01T00:00:00+00:00",
"modified_at": "1970-01-01T00:00:00+00:00"
},
{
"name": "Bedroom",
"id": "bedroom",
"picture": null,
"aliases": []
"aliases": [],
"icon": null,
"floor_id": null,
"labels": [],
"created_at": "1970-01-01T00:00:00+00:00",
"modified_at": "1970-01-01T00:00:00+00:00"
}
]
}
Expand Down
5 changes: 3 additions & 2 deletions volumes/config/.storage/core.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 1,
"minor_version": 3,
"minor_version": 4,
"key": "core.config",
"data": {
"latitude": 52.3731339,
Expand All @@ -13,6 +13,7 @@
"internal_url": null,
"currency": "USD",
"country": "US",
"language": "en"
"language": "en",
"radius": 100
}
}
31 changes: 4 additions & 27 deletions volumes/config/.storage/core.config_entries
Original file line number Diff line number Diff line change
@@ -1,35 +1,12 @@
{
"version": 1,
"minor_version": 1,
"minor_version": 4,
"key": "core.config_entries",
"data": {
"entries": [
{
"entry_id": "5f8426fa502435857743f302651753c9",
"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
},
{
"entry_id": "bb18b688994e8cfa5e4e880452735628",
"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
}
{"created_at":"1970-01-01T00:00:00+00:00","data":{},"disabled_by":null,"discovery_keys":{},"domain":"sun","entry_id":"5f8426fa502435857743f302651753c9","minor_version":1,"modified_at":"1970-01-01T00:00:00+00:00","options":{},"pref_disable_new_entities":false,"pref_disable_polling":false,"source":"import","title":"Sun","unique_id":null,"version":1},
{"created_at":"1970-01-01T00:00:00+00:00","data":{},"disabled_by":null,"discovery_keys":{},"domain":"radio_browser","entry_id":"bb18b688994e8cfa5e4e880452735628","minor_version":1,"modified_at":"1970-01-01T00:00:00+00:00","options":{},"pref_disable_new_entities":false,"pref_disable_polling":false,"source":"onboarding","title":"Radio Browser","unique_id":null,"version":1},
{"created_at":"2024-12-20T17:06:07.193748+00:00","data":{"elevation":1000.0,"latitude":52.3731339,"longitude":4.8903147,"name":"Home"},"disabled_by":null,"discovery_keys":{},"domain":"met","entry_id":"01JFJGH76SD417XC4YJTG8QJWB","minor_version":1,"modified_at":"2024-12-20T17:06:07.193752+00:00","options":{},"pref_disable_new_entities":false,"pref_disable_polling":false,"source":"user","title":"Home","unique_id":null,"version":1}
]
}
}
12 changes: 12 additions & 0 deletions volumes/config/.storage/core.device_registry
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"minor_version": 8,
"key": "core.device_registry",
"data": {
"devices": [
{"area_id":null,"config_entries":["5f8426fa502435857743f302651753c9"],"configuration_url":null,"connections":[],"created_at":"2024-12-17T01:58:48.779854+00:00","disabled_by":null,"entry_type":"service","hw_version":null,"id":"b3d3fadee11d077d99d948c173631abc","identifiers":[["sun","5f8426fa502435857743f302651753c9"]],"labels":[],"manufacturer":null,"model":null,"model_id":null,"modified_at":"2024-12-17T01:58:48.779886+00:00","name_by_user":null,"name":"Sun","primary_config_entry":"5f8426fa502435857743f302651753c9","serial_number":null,"sw_version":null,"via_device_id":null},
{"area_id":null,"config_entries":["01JFJGH76SD417XC4YJTG8QJWB"],"configuration_url":"https://www.met.no/en","connections":[],"created_at":"2024-12-20T17:06:07.780759+00:00","disabled_by":null,"entry_type":"service","hw_version":null,"id":"6586dbdeb10a88ae4603b47e600c6124","identifiers":[["met","01JFJGH76SD417XC4YJTG8QJWB"]],"labels":[],"manufacturer":"Met.no","model":"Forecast","model_id":null,"modified_at":"2024-12-20T17:06:07.780798+00:00","name_by_user":null,"name":"Forecast","primary_config_entry":"01JFJGH76SD417XC4YJTG8QJWB","serial_number":null,"sw_version":null,"via_device_id":null}
],
"deleted_devices": []
}
}
41 changes: 14 additions & 27 deletions volumes/config/.storage/core.entity_registry
Original file line number Diff line number Diff line change
@@ -1,34 +1,21 @@
{
"version": 1,
"minor_version": 8,
"minor_version": 15,
"key": "core.entity_registry",
"data": {
"entities": [
{
"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_user",
"hidden_by": null,
"icon": null,
"id": "e6de57e591560fad68f1c3b52bf0b295",
"has_entity_name": false,
"name": null,
"options": {},
"original_device_class": null,
"original_icon": null,
"original_name": "Test User",
"platform": "person",
"supported_features": 0,
"unique_id": "test_user",
"unit_of_measurement": null,
"translation_key": null,
"aliases": []
}
]
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":null,"created_at":"1970-01-01T00:00:00+00:00","device_class":null,"device_id":null,"disabled_by":null,"entity_category":null,"entity_id":"person.test_user","hidden_by":null,"icon":null,"id":"e6de57e591560fad68f1c3b52bf0b295","has_entity_name":false,"labels":[],"modified_at":"1970-01-01T00:00:00+00:00","name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Test User","platform":"person","supported_features":0,"translation_key":null,"unique_id":"test_user","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.780004+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_dawn","hidden_by":null,"icon":null,"id":"d7e14c775a20078d98703325848bd203","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.780072+00:00","name":null,"options":{},"original_device_class":"timestamp","original_icon":null,"original_name":"Next dawn","platform":"sun","supported_features":0,"translation_key":"next_dawn","unique_id":"5f8426fa502435857743f302651753c9-next_dawn","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.780360+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_dusk","hidden_by":null,"icon":null,"id":"e1a35874a09227109783c6d1301a10cf","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.780404+00:00","name":null,"options":{},"original_device_class":"timestamp","original_icon":null,"original_name":"Next dusk","platform":"sun","supported_features":0,"translation_key":"next_dusk","unique_id":"5f8426fa502435857743f302651753c9-next_dusk","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.780603+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_midnight","hidden_by":null,"icon":null,"id":"9ec059b13886380e2d5d4a9002e89879","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.780633+00:00","name":null,"options":{},"original_device_class":"timestamp","original_icon":null,"original_name":"Next midnight","platform":"sun","supported_features":0,"translation_key":"next_midnight","unique_id":"5f8426fa502435857743f302651753c9-next_midnight","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.780796+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_noon","hidden_by":null,"icon":null,"id":"04bc6ee0081da1191cb27e2ee5842148","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.780832+00:00","name":null,"options":{},"original_device_class":"timestamp","original_icon":null,"original_name":"Next noon","platform":"sun","supported_features":0,"translation_key":"next_noon","unique_id":"5f8426fa502435857743f302651753c9-next_noon","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.780976+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_rising","hidden_by":null,"icon":null,"id":"ec87eec8ebe365ec0cd1119962627570","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.781008+00:00","name":null,"options":{},"original_device_class":"timestamp","original_icon":null,"original_name":"Next rising","platform":"sun","supported_features":0,"translation_key":"next_rising","unique_id":"5f8426fa502435857743f302651753c9-next_rising","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.781147+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":null,"entity_category":"diagnostic","entity_id":"sensor.sun_next_setting","hidden_by":null,"icon":null,"id":"594acbedee290ea279f1d63cf6efbb3b","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.781172+00:00","name":null,"options":{},"original_device_class":"timestamp","original_icon":null,"original_name":"Next setting","platform":"sun","supported_features":0,"translation_key":"next_setting","unique_id":"5f8426fa502435857743f302651753c9-next_setting","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.781300+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":"integration","entity_category":"diagnostic","entity_id":"sensor.sun_solar_elevation","hidden_by":null,"icon":null,"id":"0df1d222a5fedd8d5e62a2ff2be79094","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.781322+00:00","name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Solar elevation","platform":"sun","supported_features":0,"translation_key":"solar_elevation","unique_id":"5f8426fa502435857743f302651753c9-solar_elevation","previous_unique_id":null,"unit_of_measurement":"°"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":{"state_class":"measurement"},"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.781397+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":"integration","entity_category":"diagnostic","entity_id":"sensor.sun_solar_azimuth","hidden_by":null,"icon":null,"id":"104de75b64e950af398ec4fe9998338c","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.781417+00:00","name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Solar azimuth","platform":"sun","supported_features":0,"translation_key":"solar_azimuth","unique_id":"5f8426fa502435857743f302651753c9-solar_azimuth","previous_unique_id":null,"unit_of_measurement":"°"},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"5f8426fa502435857743f302651753c9","created_at":"2024-12-17T01:58:48.781483+00:00","device_class":null,"device_id":"b3d3fadee11d077d99d948c173631abc","disabled_by":"integration","entity_category":"diagnostic","entity_id":"sensor.sun_solar_rising","hidden_by":null,"icon":null,"id":"888993d87923ff452ad1e53f6b3a943f","has_entity_name":true,"labels":[],"modified_at":"2024-12-17T01:58:48.781506+00:00","name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Solar rising","platform":"sun","supported_features":0,"translation_key":"solar_rising","unique_id":"5f8426fa502435857743f302651753c9-solar_rising","previous_unique_id":null,"unit_of_measurement":null},
{"aliases":[],"area_id":null,"categories":{},"capabilities":null,"config_entry_id":"01JFJGH76SD417XC4YJTG8QJWB","created_at":"2024-12-20T17:06:07.780994+00:00","device_class":null,"device_id":"6586dbdeb10a88ae4603b47e600c6124","disabled_by":null,"entity_category":null,"entity_id":"weather.forecast_home","hidden_by":null,"icon":null,"id":"6ae588672696a2601b0152f22ee235f3","has_entity_name":true,"labels":[],"modified_at":"2024-12-20T17:06:07.781055+00:00","name":null,"options":{},"original_device_class":null,"original_icon":null,"original_name":"Home","platform":"met","supported_features":3,"translation_key":null,"unique_id":"52.3731339-4.8903147","previous_unique_id":null,"unit_of_measurement":null}
],
"deleted_entities": []
}
}
20 changes: 2 additions & 18 deletions volumes/config/.storage/core.restore_state
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,9 @@
"key": "core.restore_state",
"data": [
{
"state": {
"entity_id": "person.test_user",
"state": "unknown",
"attributes": {
"editable": true,
"id": "test_user",
"user_id": "e85fc7b7b8924dc9b024ce90ad23799e",
"friendly_name": "Test User"
},
"last_changed": "2023-03-11T22:49:37.025955+00:00",
"last_updated": "2023-03-11T22:49:38.001160+00:00",
"context": {
"id": "01GV9DV0YHA545RWX832E5W3XW",
"parent_id": null,
"user_id": null
}
},
"state": {"entity_id":"person.test_user","state":"unknown","attributes":{"editable":true,"id":"test_user","device_trackers":[],"user_id":"e85fc7b7b8924dc9b024ce90ad23799e","friendly_name":"Test User"},"last_changed":"2024-12-20T16:29:12.365217+00:00","last_reported":"2024-12-20T16:29:13.064958+00:00","last_updated":"2024-12-20T16:29:13.064958+00:00","context":{"id":"01JFJEDMZ89PTCR8TSCGBK4PP6","parent_id":null,"user_id":null}},
"extra_data": null,
"last_seen": "2023-03-11T22:49:38.002949+00:00"
"last_seen": "2024-12-22T02:24:58.979320+00:00"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"language": "en",
"number_format": "language",
"time_format": "language",
"date_format": "language",
"time_zone": "local",
"first_weekday": "language"
}
}
Expand Down
13 changes: 9 additions & 4 deletions volumes/config/.storage/http
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@
"127.0.0.1"
],
"use_x_forwarded_for": true,
"ssl_profile": "modern",
"ip_ban_enabled": true,
"login_attempts_threshold": -1,
"server_port": 8123,
"server_host": [
"0.0.0.0",
"::"
],
"ip_ban_enabled": true,
"use_x_frame_options": true,
"cors_allowed_origins": [
"https://cast.home-assistant.io"
]
],
"server_port": 8123,
"ssl_profile": "modern"
}
}
1 change: 1 addition & 0 deletions volumes/config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ trace:
counter:
tag:
notify:
weather:

logger:
default: info
Expand Down

0 comments on commit 3d8850f

Please sign in to comment.