MTrab / energidataservice

Fetches spot prices from Energi Data Service
GNU General Public License v3.0
187 stars 26 forks source link

Raw_tomorrow is empty while Tomorrow_valid=true #238

Closed ruteclrp closed 1 year ago

ruteclrp commented 1 year ago

Environment:

Configuration

Additional cost template

NIL

Describe the bug

Attribute Raw_tomorrow is empty although the Tomorrow attribute is populated and Tomorrow_valid=true

The problem persist over several days. Problem existed in both v.1.1.1 and v.1.1.2

Debug log

Diganostics data from the device

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.1.7", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "aarch64", "timezone": "Europe/Copenhagen", "os_name": "Linux", "os_version": "5.15.76-v8", "supervisor": "2022.12.1", "host_os": "Home Assistant OS 9.4", "docker_version": "20.10.19", "chassis": "embedded", "run_as_root": true }, "custom_components": { "huawei_solar": { "version": "1.2.0b4", "requirements": [ "huawei-solar==2.2.0b4" ] }, "hacs": { "version": "1.30.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "nordpool": { "version": "0.0.10", "requirements": [ "nordpool>=0.2" ] }, "fordpass": { "version": "0.1.42", "requirements": [] }, "energidataservice": { "version": "1.1.2", "requirements": [ "CurrencyConverter==0.17.5" ] } }, "integration_manifest": { "after_dependencies": [ "http" ], "codeowners": [ "@MTrab" ], "config_flow": true, "documentation": "https://github.com/MTrab/energidataservice/blob/master/README.md", "domain": "energidataservice", "iot_class": "cloud_polling", "issue_tracker": "https://github.com/MTrab/energidataservice/issues", "name": "Energi Data Service", "requirements": [ "CurrencyConverter==0.17.5" ], "version": "1.1.2", "is_built_in": false }, "data": { "entry": { "entry_id": "2ebacaab793b4c8ad7796afccc67d7d1", "version": 1, "domain": "energidataservice", "title": "Energi Data Service", "data": { "name": "Energi Data Service" }, "options": { "tariff_charge_owner": "Radius", "email": "REDACTED", "api_key": "REDACTED", "enable_forecast": true, "enable_tariffs": true, "area": "East of the great belt", "vat": true, "in_cent": false, "decimals": 3, "pricetype": "kWh", "cost_template": "{{0.0|float}}", "name": "Energi Data Service", "country": "Denmark" }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "REDACTED", "disabled_by": null }, "today": [ [ 1.748, "2023-01-23T00:00:00+01:00" ], [ 1.748, "2023-01-23T01:00:00+01:00" ], [ 1.743, "2023-01-23T02:00:00+01:00" ], [ 1.735, "2023-01-23T03:00:00+01:00" ], [ 1.756, "2023-01-23T04:00:00+01:00" ], [ 1.76, "2023-01-23T05:00:00+01:00" ], [ 2.554, "2023-01-23T06:00:00+01:00" ], [ 2.894, "2023-01-23T07:00:00+01:00" ], [ 3.186, "2023-01-23T08:00:00+01:00" ], [ 3.3, "2023-01-23T09:00:00+01:00" ], [ 3.112, "2023-01-23T10:00:00+01:00" ], [ 2.929, "2023-01-23T11:00:00+01:00" ], [ 2.842, "2023-01-23T12:00:00+01:00" ], [ 2.826, "2023-01-23T13:00:00+01:00" ], [ 2.831, "2023-01-23T14:00:00+01:00" ], [ 2.824, "2023-01-23T15:00:00+01:00" ], [ 2.876, "2023-01-23T16:00:00+01:00" ], [ 4.378, "2023-01-23T17:00:00+01:00" ], [ 4.37, "2023-01-23T18:00:00+01:00" ], [ 4.139, "2023-01-23T19:00:00+01:00" ], [ 3.956, "2023-01-23T20:00:00+01:00" ], [ 2.499, "2023-01-23T21:00:00+01:00" ], [ 2.388, "2023-01-23T22:00:00+01:00" ], [ 2.248, "2023-01-23T23:00:00+01:00" ] ], "today_calculated": true, "api_today": [ [ 148.960007, "2023-01-23T00:00:00+01:00" ], [ 149.0, "2023-01-23T01:00:00+01:00" ], [ 148.399994, "2023-01-23T02:00:00+01:00" ], [ 147.589996, "2023-01-23T03:00:00+01:00" ], [ 149.880005, "2023-01-23T04:00:00+01:00" ], [ 150.320007, "2023-01-23T05:00:00+01:00" ], [ 189.960007, "2023-01-23T06:00:00+01:00" ], [ 226.539993, "2023-01-23T07:00:00+01:00" ], [ 257.920013, "2023-01-23T08:00:00+01:00" ], [ 270.220001, "2023-01-23T09:00:00+01:00" ], [ 249.940002, "2023-01-23T10:00:00+01:00" ], [ 230.229996, "2023-01-23T11:00:00+01:00" ], [ 220.949997, "2023-01-23T12:00:00+01:00" ], [ 219.179993, "2023-01-23T13:00:00+01:00" ], [ 219.690002, "2023-01-23T14:00:00+01:00" ], [ 218.990005, "2023-01-23T15:00:00+01:00" ], [ 224.580002, "2023-01-23T16:00:00+01:00" ], [ 248.899994, "2023-01-23T17:00:00+01:00" ], [ 248.070007, "2023-01-23T18:00:00+01:00" ], [ 223.190002, "2023-01-23T19:00:00+01:00" ], [ 203.529999, "2023-01-23T20:00:00+01:00" ], [ 184.009995, "2023-01-23T21:00:00+01:00" ], [ 172.089996, "2023-01-23T22:00:00+01:00" ], [ 157.009995, "2023-01-23T23:00:00+01:00" ] ], "tomorrow": [ [ 1.895, "2023-01-24T00:00:00+01:00" ], [ 1.851, "2023-01-24T01:00:00+01:00" ], [ 1.719, "2023-01-24T02:00:00+01:00" ], [ 1.687, "2023-01-24T03:00:00+01:00" ], [ 1.791, "2023-01-24T04:00:00+01:00" ], [ 1.82, "2023-01-24T05:00:00+01:00" ], [ 2.495, "2023-01-24T06:00:00+01:00" ], [ 2.741, "2023-01-24T07:00:00+01:00" ], [ 3.123, "2023-01-24T08:00:00+01:00" ], [ 3.172, "2023-01-24T09:00:00+01:00" ], [ 3.007, "2023-01-24T10:00:00+01:00" ], [ 2.926, "2023-01-24T11:00:00+01:00" ], [ 2.814, "2023-01-24T12:00:00+01:00" ], [ 2.703, "2023-01-24T13:00:00+01:00" ], [ 2.79, "2023-01-24T14:00:00+01:00" ], [ 2.815, "2023-01-24T15:00:00+01:00" ], [ 2.876, "2023-01-24T16:00:00+01:00" ], [ 4.388, "2023-01-24T17:00:00+01:00" ], [ 4.388, "2023-01-24T18:00:00+01:00" ], [ 4.213, "2023-01-24T19:00:00+01:00" ], [ 3.991, "2023-01-24T20:00:00+01:00" ], [ 2.419, "2023-01-24T21:00:00+01:00" ], [ 2.067, "2023-01-24T22:00:00+01:00" ], [ 1.985, "2023-01-24T23:00:00+01:00" ] ], "tomorrow_calculated": true, "api_tomorrow": [ [ 164.850006, "2023-01-24T00:00:00+01:00" ], [ 160.050003, "2023-01-24T01:00:00+01:00" ], [ 145.899994, "2023-01-24T02:00:00+01:00" ], [ 142.399994, "2023-01-24T03:00:00+01:00" ], [ 153.619995, "2023-01-24T04:00:00+01:00" ], [ 156.699997, "2023-01-24T05:00:00+01:00" ], [ 183.610001, "2023-01-24T06:00:00+01:00" ], [ 210.080002, "2023-01-24T07:00:00+01:00" ], [ 251.100006, "2023-01-24T08:00:00+01:00" ], [ 256.429993, "2023-01-24T09:00:00+01:00" ], [ 238.660004, "2023-01-24T10:00:00+01:00" ], [ 229.960007, "2023-01-24T11:00:00+01:00" ], [ 217.850006, "2023-01-24T12:00:00+01:00" ], [ 205.990005, "2023-01-24T13:00:00+01:00" ], [ 215.279999, "2023-01-24T14:00:00+01:00" ], [ 217.979996, "2023-01-24T15:00:00+01:00" ], [ 224.580002, "2023-01-24T16:00:00+01:00" ], [ 250.0, "2023-01-24T17:00:00+01:00" ], [ 250.0, "2023-01-24T18:00:00+01:00" ], [ 231.139999, "2023-01-24T19:00:00+01:00" ], [ 207.289993, "2023-01-24T20:00:00+01:00" ], [ 175.449997, "2023-01-24T21:00:00+01:00" ], [ 137.529999, "2023-01-24T22:00:00+01:00" ], [ 128.699997, "2023-01-24T23:00:00+01:00" ] ], "predictions": [ [ 1.049, "2023-01-25T00:00:00+01:00" ], [ 0.946, "2023-01-25T01:00:00+01:00" ], [ 0.913, "2023-01-25T02:00:00+01:00" ], [ 0.89, "2023-01-25T03:00:00+01:00" ], [ 0.879, "2023-01-25T04:00:00+01:00" ], [ 1.033, "2023-01-25T05:00:00+01:00" ], [ 1.839, "2023-01-25T06:00:00+01:00" ], [ 2.779, "2023-01-25T07:00:00+01:00" ], [ 3.292, "2023-01-25T08:00:00+01:00" ], [ 3.035, "2023-01-25T09:00:00+01:00" ], [ 2.291, "2023-01-25T10:00:00+01:00" ], [ 2.105, "2023-01-25T11:00:00+01:00" ], [ 1.757, "2023-01-25T12:00:00+01:00" ], [ 1.521, "2023-01-25T13:00:00+01:00" ], [ 1.459, "2023-01-25T14:00:00+01:00" ], [ 1.438, "2023-01-25T15:00:00+01:00" ], [ 1.494, "2023-01-25T16:00:00+01:00" ], [ 2.978, "2023-01-25T17:00:00+01:00" ], [ 3.278, "2023-01-25T18:00:00+01:00" ], [ 3.38, "2023-01-25T19:00:00+01:00" ], [ 2.8, "2023-01-25T20:00:00+01:00" ], [ 1.414, "2023-01-25T21:00:00+01:00" ], [ 1.298, "2023-01-25T22:00:00+01:00" ], [ 1.113, "2023-01-25T23:00:00+01:00" ], [ 0.637, "2023-01-26T00:00:00+01:00" ], [ 0.584, "2023-01-26T01:00:00+01:00" ], [ 0.592, "2023-01-26T02:00:00+01:00" ], [ 0.615, "2023-01-26T03:00:00+01:00" ], [ 0.634, "2023-01-26T04:00:00+01:00" ], [ 0.66, "2023-01-26T05:00:00+01:00" ], [ 1.133, "2023-01-26T06:00:00+01:00" ], [ 1.562, "2023-01-26T07:00:00+01:00" ], [ 2.221, "2023-01-26T08:00:00+01:00" ], [ 2.029, "2023-01-26T09:00:00+01:00" ], [ 1.828, "2023-01-26T10:00:00+01:00" ], [ 1.581, "2023-01-26T11:00:00+01:00" ], [ 1.444, "2023-01-26T12:00:00+01:00" ], [ 1.409, "2023-01-26T13:00:00+01:00" ], [ 1.386, "2023-01-26T14:00:00+01:00" ], [ 1.382, "2023-01-26T15:00:00+01:00" ], [ 1.424, "2023-01-26T16:00:00+01:00" ], [ 2.837, "2023-01-26T17:00:00+01:00" ], [ 2.968, "2023-01-26T18:00:00+01:00" ], [ 3.17, "2023-01-26T19:00:00+01:00" ], [ 3.452, "2023-01-26T20:00:00+01:00" ], [ 1.813, "2023-01-26T21:00:00+01:00" ], [ 1.491, "2023-01-26T22:00:00+01:00" ], [ 1.426, "2023-01-26T23:00:00+01:00" ], [ 0.878, "2023-01-27T00:00:00+01:00" ], [ 0.895, "2023-01-27T01:00:00+01:00" ], [ 0.868, "2023-01-27T02:00:00+01:00" ], [ 0.864, "2023-01-27T03:00:00+01:00" ], [ 0.902, "2023-01-27T04:00:00+01:00" ], [ 0.937, "2023-01-27T05:00:00+01:00" ], [ 1.709, "2023-01-27T06:00:00+01:00" ], [ 2.784, "2023-01-27T07:00:00+01:00" ], [ 3.184, "2023-01-27T08:00:00+01:00" ], [ 3.341, "2023-01-27T09:00:00+01:00" ], [ 3.259, "2023-01-27T10:00:00+01:00" ], [ 2.761, "2023-01-27T11:00:00+01:00" ], [ 2.546, "2023-01-27T12:00:00+01:00" ], [ 2.517, "2023-01-27T13:00:00+01:00" ], [ 2.436, "2023-01-27T14:00:00+01:00" ], [ 2.384, "2023-01-27T15:00:00+01:00" ], [ 2.466, "2023-01-27T16:00:00+01:00" ], [ 4.334, "2023-01-27T17:00:00+01:00" ], [ 4.47, "2023-01-27T18:00:00+01:00" ], [ 4.678, "2023-01-27T19:00:00+01:00" ], [ 4.061, "2023-01-27T20:00:00+01:00" ], [ 2.739, "2023-01-27T21:00:00+01:00" ], [ 2.638, "2023-01-27T22:00:00+01:00" ], [ 2.492, "2023-01-27T23:00:00+01:00" ], [ 2.097, "2023-01-28T00:00:00+01:00" ], [ 2.152, "2023-01-28T01:00:00+01:00" ], [ 2.202, "2023-01-28T02:00:00+01:00" ], [ 2.156, "2023-01-28T03:00:00+01:00" ], [ 2.189, "2023-01-28T04:00:00+01:00" ], [ 2.341, "2023-01-28T05:00:00+01:00" ], [ 2.896, "2023-01-28T06:00:00+01:00" ], [ 3.094, "2023-01-28T07:00:00+01:00" ], [ 3.349, "2023-01-28T08:00:00+01:00" ], [ 3.306, "2023-01-28T09:00:00+01:00" ], [ 2.94, "2023-01-28T10:00:00+01:00" ], [ 2.767, "2023-01-28T11:00:00+01:00" ], [ 2.571, "2023-01-28T12:00:00+01:00" ], [ 2.352, "2023-01-28T13:00:00+01:00" ], [ 2.188, "2023-01-28T14:00:00+01:00" ], [ 2.442, "2023-01-28T15:00:00+01:00" ], [ 2.563, "2023-01-28T16:00:00+01:00" ], [ 3.946, "2023-01-28T17:00:00+01:00" ], [ 4.031, "2023-01-28T18:00:00+01:00" ], [ 3.658, "2023-01-28T19:00:00+01:00" ], [ 3.36, "2023-01-28T20:00:00+01:00" ], [ 1.829, "2023-01-28T21:00:00+01:00" ], [ 1.692, "2023-01-28T22:00:00+01:00" ], [ 1.561, "2023-01-28T23:00:00+01:00" ], [ 0.813, "2023-01-29T00:00:00+01:00" ], [ 0.642, "2023-01-29T01:00:00+01:00" ], [ 0.421, "2023-01-29T02:00:00+01:00" ], [ 0.486, "2023-01-29T03:00:00+01:00" ], [ 0.458, "2023-01-29T04:00:00+01:00" ], [ 0.432, "2023-01-29T05:00:00+01:00" ], [ 0.818, "2023-01-29T06:00:00+01:00" ], [ 0.866, "2023-01-29T07:00:00+01:00" ], [ 0.93, "2023-01-29T08:00:00+01:00" ], [ 1.051, "2023-01-29T09:00:00+01:00" ], [ 1.385, "2023-01-29T10:00:00+01:00" ], [ 1.357, "2023-01-29T11:00:00+01:00" ], [ 1.195, "2023-01-29T12:00:00+01:00" ], [ 1.023, "2023-01-29T13:00:00+01:00" ], [ 0.865, "2023-01-29T14:00:00+01:00" ], [ 0.823, "2023-01-29T15:00:00+01:00" ], [ 0.835, "2023-01-29T16:00:00+01:00" ], [ 2.286, "2023-01-29T17:00:00+01:00" ], [ 2.663, "2023-01-29T18:00:00+01:00" ], [ 2.721, "2023-01-29T19:00:00+01:00" ], [ 2.544, "2023-01-29T20:00:00+01:00" ], [ 1.014, "2023-01-29T21:00:00+01:00" ], [ 0.828, "2023-01-29T22:00:00+01:00" ], [ 0.86, "2023-01-29T23:00:00+01:00" ], [ 0.431, "2023-01-30T00:00:00+01:00" ], [ 0.421, "2023-01-30T01:00:00+01:00" ], [ 0.406, "2023-01-30T02:00:00+01:00" ], [ 0.425, "2023-01-30T03:00:00+01:00" ], [ 0.463, "2023-01-30T04:00:00+01:00" ], [ 0.55, "2023-01-30T05:00:00+01:00" ], [ 1.164, "2023-01-30T06:00:00+01:00" ], [ 1.188, "2023-01-30T07:00:00+01:00" ], [ 1.597, "2023-01-30T08:00:00+01:00" ], [ 1.685, "2023-01-30T09:00:00+01:00" ], [ 1.668, "2023-01-30T10:00:00+01:00" ], [ 1.727, "2023-01-30T11:00:00+01:00" ], [ 1.725, "2023-01-30T12:00:00+01:00" ], [ 1.592, "2023-01-30T13:00:00+01:00" ], [ 1.507, "2023-01-30T14:00:00+01:00" ], [ 1.435, "2023-01-30T15:00:00+01:00" ], [ 1.728, "2023-01-30T16:00:00+01:00" ], [ 3.387, "2023-01-30T17:00:00+01:00" ], [ 3.611, "2023-01-30T18:00:00+01:00" ], [ 3.372, "2023-01-30T19:00:00+01:00" ], [ 3.158, "2023-01-30T20:00:00+01:00" ], [ 1.682, "2023-01-30T21:00:00+01:00" ] ], "api_predictions": [ [ 549.1468674100652, "2023-01-25T00:00:00+01:00" ], [ 466.97561935816935, "2023-01-25T01:00:00+01:00" ], [ 439.92518461152923, "2023-01-25T02:00:00+01:00" ], [ 421.89958719165696, "2023-01-25T03:00:00+01:00" ], [ 413.03775405752543, "2023-01-25T04:00:00+01:00" ], [ 536.2727236796311, "2023-01-25T05:00:00+01:00" ], [ 840.6145326330957, "2023-01-25T06:00:00+01:00" ], [ 1592.6074700741149, "2023-01-25T07:00:00+01:00" ], [ 2003.2457228620804, "2023-01-25T08:00:00+01:00" ], [ 1797.3344425983903, "2023-01-25T09:00:00+01:00" ], [ 1202.3314329834814, "2023-01-25T10:00:00+01:00" ], [ 1053.3613965293073, "2023-01-25T11:00:00+01:00" ], [ 775.630223457722, "2023-01-25T12:00:00+01:00" ], [ 586.3397891936293, "2023-01-25T13:00:00+01:00" ], [ 536.6027873365606, "2023-01-25T14:00:00+01:00" ], [ 520.1223175569546, "2023-01-25T15:00:00+01:00" ], [ 564.8579967565065, "2023-01-25T16:00:00+01:00" ], [ 731.4481794292051, "2023-01-25T17:00:00+01:00" ], [ 971.7605847054003, "2023-01-25T18:00:00+01:00" ], [ 1053.5299088002114, "2023-01-25T19:00:00+01:00" ], [ 589.5824453945329, "2023-01-25T20:00:00+01:00" ], [ 500.8968330633209, "2023-01-25T21:00:00+01:00" ], [ 408.3567366994151, "2023-01-25T22:00:00+01:00" ], [ 260.1123678402582, "2023-01-25T23:00:00+01:00" ], [ 219.40089381413685, "2023-01-26T00:00:00+01:00" ], [ 177.0118252586858, "2023-01-26T01:00:00+01:00" ], [ 183.66371527873758, "2023-01-26T02:00:00+01:00" ], [ 201.56981558766222, "2023-01-26T03:00:00+01:00" ], [ 217.09273246373056, "2023-01-26T04:00:00+01:00" ], [ 237.59290274123526, "2023-01-26T05:00:00+01:00" ], [ 276.2085263945433, "2023-01-26T06:00:00+01:00" ], [ 619.3414663720685, "2023-01-26T07:00:00+01:00" ], [ 1146.8044826706089, "2023-01-26T08:00:00+01:00" ], [ 993.0357692507966, "2023-01-26T09:00:00+01:00" ], [ 832.4773229169296, "2023-01-26T10:00:00+01:00" ], [ 634.8273200152703, "2023-01-26T11:00:00+01:00" ], [ 524.6125128884607, "2023-01-26T12:00:00+01:00" ], [ 497.0530781714331, "2023-01-26T13:00:00+01:00" ], [ 478.81633450117164, "2023-01-26T14:00:00+01:00" ], [ 475.0012847278261, "2023-01-26T15:00:00+01:00" ], [ 509.1060413577579, "2023-01-26T16:00:00+01:00" ], [ 618.5054497384826, "2023-01-26T17:00:00+01:00" ], [ 723.3322617063527, "2023-01-26T18:00:00+01:00" ], [ 885.0874975955542, "2023-01-26T19:00:00+01:00" ], [ 1110.6600644482614, "2023-01-26T20:00:00+01:00" ], [ 820.3188810068159, "2023-01-26T21:00:00+01:00" ], [ 562.177260092634, "2023-01-26T22:00:00+01:00" ], [ 510.6715233593471, "2023-01-26T23:00:00+01:00" ], [ 412.5921829678401, "2023-01-27T00:00:00+01:00" ], [ 425.9724387834029, "2023-01-27T01:00:00+01:00" ], [ 404.52171548875873, "2023-01-27T02:00:00+01:00" ], [ 401.4248033579223, "2023-01-27T03:00:00+01:00" ], [ 431.6167147901122, "2023-01-27T04:00:00+01:00" ], [ 459.5583050120958, "2023-01-27T05:00:00+01:00" ], [ 737.0529101995144, "2023-01-27T06:00:00+01:00" ], [ 1596.7141085051483, "2023-01-27T07:00:00+01:00" ], [ 1917.249986669057, "2023-01-27T08:00:00+01:00" ], [ 2042.738723817479, "2023-01-27T09:00:00+01:00" ], [ 1977.266987830533, "2023-01-27T10:00:00+01:00" ], [ 1578.654685244469, "2023-01-27T11:00:00+01:00" ], [ 1406.5359340578855, "2023-01-27T12:00:00+01:00" ], [ 1383.015856604715, "2023-01-27T13:00:00+01:00" ], [ 1318.2379275167364, "2023-01-27T14:00:00+01:00" ], [ 1276.8790061026682, "2023-01-27T15:00:00+01:00" ], [ 1342.6885085466959, "2023-01-27T16:00:00+01:00" ], [ 1816.1429343659418, "2023-01-27T17:00:00+01:00" ], [ 1925.0332008639314, "2023-01-27T18:00:00+01:00" ], [ 2091.6934580103793, "2023-01-27T19:00:00+01:00" ], [ 1598.2720596678312, "2023-01-27T20:00:00+01:00" ], [ 1560.8319480248338, "2023-01-27T21:00:00+01:00" ], [ 1479.7378918111315, "2023-01-27T22:00:00+01:00" ], [ 1363.5380136638817, "2023-01-27T23:00:00+01:00" ], [ 1387.7111121767318, "2023-01-28T00:00:00+01:00" ], [ 1431.867723402854, "2023-01-28T01:00:00+01:00" ], [ 1471.5039051420733, "2023-01-28T02:00:00+01:00" ], [ 1434.7944851989562, "2023-01-28T03:00:00+01:00" ], [ 1461.3809631849374, "2023-01-28T04:00:00+01:00" ], [ 1582.4146267567937, "2023-01-28T05:00:00+01:00" ], [ 1686.4371401656615, "2023-01-28T06:00:00+01:00" ], [ 1844.8586542304372, "2023-01-28T07:00:00+01:00" ], [ 2048.584643886127, "2023-01-28T08:00:00+01:00" ], [ 2014.5695127486008, "2023-01-28T09:00:00+01:00" ], [ 1721.3436687652336, "2023-01-28T10:00:00+01:00" ], [ 1583.1886385083478, "2023-01-28T11:00:00+01:00" ], [ 1426.7215340321848, "2023-01-28T12:00:00+01:00" ], [ 1251.1746884233369, "2023-01-28T13:00:00+01:00" ], [ 1120.3386762731586, "2023-01-28T14:00:00+01:00" ], [ 1323.2345983566236, "2023-01-28T15:00:00+01:00" ], [ 1419.766169641299, "2023-01-28T16:00:00+01:00" ], [ 1505.6078959239808, "2023-01-28T17:00:00+01:00" ], [ 1574.164582098373, "2023-01-28T18:00:00+01:00" ], [ 1275.9764524331754, "2023-01-28T19:00:00+01:00" ], [ 1036.8086773207467, "2023-01-28T20:00:00+01:00" ], [ 832.8952490202914, "2023-01-28T21:00:00+01:00" ], [ 723.5845282340615, "2023-01-28T22:00:00+01:00" ], [ 618.1419787093253, "2023-01-28T23:00:00+01:00" ], [ 360.43796087434197, "2023-01-29T00:00:00+01:00" ], [ 223.71905078279332, "2023-01-29T01:00:00+01:00" ], [ 46.852292695923495, "2023-01-29T02:00:00+01:00" ], [ 98.46291072062837, "2023-01-29T03:00:00+01:00" ], [ 76.19583154714866, "2023-01-29T04:00:00+01:00" ], [ 55.30437674986962, "2023-01-29T05:00:00+01:00" ], [ 23.949045551290908, "2023-01-29T06:00:00+01:00" ], [ 62.337776090607065, "2023-01-29T07:00:00+01:00" ], [ 114.02806712899331, "2023-01-29T08:00:00+01:00" ], [ 210.58795706260622, "2023-01-29T09:00:00+01:00" ], [ 477.3783670820349, "2023-01-29T10:00:00+01:00" ], [ 455.4474668265032, "2023-01-29T11:00:00+01:00" ], [ 325.49912217484444, "2023-01-29T12:00:00+01:00" ], [ 187.847256729151, "2023-01-29T13:00:00+01:00" ], [ 61.753385296128215, "2023-01-29T14:00:00+01:00" ], [ 27.955723087182776, "2023-01-29T15:00:00+01:00" ], [ 38.02768030761416, "2023-01-29T16:00:00+01:00" ], [ 178.28167751330136, "2023-01-29T17:00:00+01:00" ], [ 479.52335227855855, "2023-01-29T18:00:00+01:00" ], [ 526.3360724816221, "2023-01-29T19:00:00+01:00" ], [ 384.2696507200036, "2023-01-29T20:00:00+01:00" ], [ 180.55055724212536, "2023-01-29T21:00:00+01:00" ], [ 31.71186461052565, "2023-01-29T22:00:00+01:00" ], [ 57.98297985333187, "2023-01-29T23:00:00+01:00" ], [ 55.0562703547219, "2023-01-30T00:00:00+01:00" ], [ 46.374414165507176, "2023-01-30T01:00:00+01:00" ], [ 35.06879632799979, "2023-01-30T02:00:00+01:00" ], [ 49.777099984047084, "2023-01-30T03:00:00+01:00" ], [ 79.92338938849917, "2023-01-30T04:00:00+01:00" ], [ 149.8399521890919, "2023-01-30T05:00:00+01:00" ], [ 301.21121648379784, "2023-01-30T06:00:00+01:00" ], [ 319.8507510085605, "2023-01-30T07:00:00+01:00" ], [ 646.9482962677455, "2023-01-30T08:00:00+01:00" ], [ 717.8450457947492, "2023-01-30T09:00:00+01:00" ], [ 703.955508666018, "2023-01-30T10:00:00+01:00" ], [ 751.5856810451814, "2023-01-30T11:00:00+01:00" ], [ 749.6085876408386, "2023-01-30T12:00:00+01:00" ], [ 643.6578662188913, "2023-01-30T13:00:00+01:00" ], [ 575.400646831898, "2023-01-30T14:00:00+01:00" ], [ 517.9102071993336, "2023-01-30T15:00:00+01:00" ], [ 752.4580076504633, "2023-01-30T16:00:00+01:00" ], [ 1058.58511914846, "2023-01-30T17:00:00+01:00" ], [ 1238.1973670587797, "2023-01-30T18:00:00+01:00" ], [ 1046.4902222372093, "2023-01-30T19:00:00+01:00" ], [ 875.3041427573544, "2023-01-30T20:00:00+01:00" ], [ 715.4853917128437, "2023-01-30T21:00:00+01:00" ] ], "tariff_data": { "additional_tariffs": { "transmissions_net_tarif": 0.058, "system_tarif": 0.054, "el_afgift": 0.008 }, "tariffs": { "0": 0.1701, "1": 0.1701, "2": 0.1701, "3": 0.1701, "4": 0.1701, "5": 0.1701, "6": 0.5103, "7": 0.5103, "8": 0.5103, "9": 0.5103, "10": 0.5103, "11": 0.5103, "12": 0.5103, "13": 0.5103, "14": 0.5103, "15": 0.5103, "16": 0.5103, "17": 1.5308, "18": 1.5308, "19": 1.5308, "20": 1.5308, "21": 0.5103, "22": 0.5103, "23": 0.5103 } }, "next_update": "13:32:14", "data_source": "Energi Data Service", "home_assistant_tz": "Europe/Copenhagen", "home_assistant_currency": "DKK" } }

MTrab commented 1 year ago

From what is shown here, the data is like supposed. Could you please share what you see in your Home Assistant UI?

ruteclrp commented 1 year ago

Sure. When I select the entity card and open attributes, this is what I get when Tomorrow_valid = true ( only copied until after the Raw_tomorrow tag):

Current price 2.25 Unit kWh Currency DKK Region East of the great belt Region code DK2 Tomorrow valid true Next data update 13:32:14 Today 1.748, 1.748, 1.743, 1.735, 1.756, 1.76, 2.554, 2.894, 3.186, 3.3, 3.112, 2.929, 2.842, 2.826, 2.831, 2.824, 2.876, 4.378, 4.37, 4.139, 3.956, 2.499, 2.388, 2.248 Tomorrow 1.895, 1.851, 1.719, 1.687, 1.791, 1.82, 2.495, 2.741, 3.123, 3.172, 3.007, 2.926, 2.814, 2.703, 2.79, 2.815, 2.876, 4.388, 4.388, 4.213, 3.991, 2.419, 2.067, 1.985 Raw today

This is the return when Tomorrow_valid=false:

Current price 2.74 Unit kWh Currency DKK Region East of the great belt Region code DK2 Tomorrow valid false Next data update 13:32:14 Today 1.895, 1.851, 1.719, 1.687, 1.791, 1.82, 2.495, 2.741, 3.123, 3.172, 3.007, 2.926, 2.814, 2.703, 2.79, 2.815, 2.876, 4.388, 4.388, 4.213, 3.991, 2.419, 2.067, 1.985 Tomorrow — Raw today

Venlig hilsen L. Robert Pedersen

MTrab commented 1 year ago

Will need to see what happens during the day in my test instances - haven't seen this error in the later versions.

And there is NOTHING relating to Energi Data Service in log file? (home-assistant.log )

ruteclrp commented 1 year ago

Just downloaded the full log, and unfortunately it is not extending all the way to yesterday's new price update at 13:30'ish. I have switched on debug mode in the extension and will download the log again after today's price update, and respond with anything included. Thanks for your patience.

ruteclrp commented 1 year ago

log from latest update today starting 13:00 CET

2023-01-24 13:00:01.236 DEBUG (MainThread) [custom_components.energidataservice] New hour, updating state 2023-01-24 13:00:01.237 DEBUG (MainThread) [custom_components.energidataservice.sensor] Validating sensor Energi Data Service 2023-01-24 13:00:01.237 DEBUG (MainThread) [custom_components.energidataservice.sensor] Predictions: [Interval(price=1.585, hour=datetime.datetime(2023, 1, 25, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.497, hour=datetime.datetime(2023, 1, 25, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.471, hour=datetime.datetime(2023, 1, 25, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.475, hour=datetime.datetime(2023, 1, 25, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.466, hour=datetime.datetime(2023, 1, 25, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.467, hour=datetime.datetime(2023, 1, 25, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.028, hour=datetime.datetime(2023, 1, 25, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.796, hour=datetime.datetime(2023, 1, 25, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.411, hour=datetime.datetime(2023, 1, 25, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.504, hour=datetime.datetime(2023, 1, 25, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.781, hour=datetime.datetime(2023, 1, 25, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.6, hour=datetime.datetime(2023, 1, 25, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.236, hour=datetime.datetime(2023, 1, 25, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.135, hour=datetime.datetime(2023, 1, 25, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.105, hour=datetime.datetime(2023, 1, 25, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.095, hour=datetime.datetime(2023, 1, 25, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.147, hour=datetime.datetime(2023, 1, 25, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.588, hour=datetime.datetime(2023, 1, 25, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.905, hour=datetime.datetime(2023, 1, 25, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.996, hour=datetime.datetime(2023, 1, 25, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.56, hour=datetime.datetime(2023, 1, 25, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.169, hour=datetime.datetime(2023, 1, 25, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.076, hour=datetime.datetime(2023, 1, 25, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.934, hour=datetime.datetime(2023, 1, 25, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.414, hour=datetime.datetime(2023, 1, 26, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.39, hour=datetime.datetime(2023, 1, 26, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.399, hour=datetime.datetime(2023, 1, 26, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.424, hour=datetime.datetime(2023, 1, 26, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.43, hour=datetime.datetime(2023, 1, 26, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.438, hour=datetime.datetime(2023, 1, 26, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.919, hour=datetime.datetime(2023, 1, 26, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.192, hour=datetime.datetime(2023, 1, 26, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.48, hour=datetime.datetime(2023, 1, 26, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.382, hour=datetime.datetime(2023, 1, 26, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.348, hour=datetime.datetime(2023, 1, 26, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.233, hour=datetime.datetime(2023, 1, 26, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.195, hour=datetime.datetime(2023, 1, 26, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.179, hour=datetime.datetime(2023, 1, 26, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.169, hour=datetime.datetime(2023, 1, 26, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.151, hour=datetime.datetime(2023, 1, 26, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.208, hour=datetime.datetime(2023, 1, 26, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.65, hour=datetime.datetime(2023, 1, 26, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.903, hour=datetime.datetime(2023, 1, 26, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.23, hour=datetime.datetime(2023, 1, 26, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.971, hour=datetime.datetime(2023, 1, 26, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.487, hour=datetime.datetime(2023, 1, 26, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.398, hour=datetime.datetime(2023, 1, 26, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.273, hour=datetime.datetime(2023, 1, 26, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.814, hour=datetime.datetime(2023, 1, 27, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.779, hour=datetime.datetime(2023, 1, 27, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.804, hour=datetime.datetime(2023, 1, 27, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.832, hour=datetime.datetime(2023, 1, 27, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.884, hour=datetime.datetime(2023, 1, 27, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.982, hour=datetime.datetime(2023, 1, 27, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.715, hour=datetime.datetime(2023, 1, 27, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.257, hour=datetime.datetime(2023, 1, 27, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.923, hour=datetime.datetime(2023, 1, 27, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.919, hour=datetime.datetime(2023, 1, 27, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.556, hour=datetime.datetime(2023, 1, 27, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.311, hour=datetime.datetime(2023, 1, 27, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.455, hour=datetime.datetime(2023, 1, 27, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.426, hour=datetime.datetime(2023, 1, 27, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.443, hour=datetime.datetime(2023, 1, 27, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.487, hour=datetime.datetime(2023, 1, 27, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.715, hour=datetime.datetime(2023, 1, 27, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=5.217, hour=datetime.datetime(2023, 1, 27, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=5.555, hour=datetime.datetime(2023, 1, 27, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=5.822, hour=datetime.datetime(2023, 1, 27, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=5.778, hour=datetime.datetime(2023, 1, 27, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.047, hour=datetime.datetime(2023, 1, 27, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.765, hour=datetime.datetime(2023, 1, 27, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.651, hour=datetime.datetime(2023, 1, 27, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.948, hour=datetime.datetime(2023, 1, 28, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.946, hour=datetime.datetime(2023, 1, 28, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.96, hour=datetime.datetime(2023, 1, 28, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.708, hour=datetime.datetime(2023, 1, 28, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.497, hour=datetime.datetime(2023, 1, 28, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.482, hour=datetime.datetime(2023, 1, 28, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.811, hour=datetime.datetime(2023, 1, 28, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.677, hour=datetime.datetime(2023, 1, 28, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.563, hour=datetime.datetime(2023, 1, 28, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.939, hour=datetime.datetime(2023, 1, 28, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.856, hour=datetime.datetime(2023, 1, 28, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.775, hour=datetime.datetime(2023, 1, 28, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.472, hour=datetime.datetime(2023, 1, 28, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.307, hour=datetime.datetime(2023, 1, 28, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.139, hour=datetime.datetime(2023, 1, 28, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.16, hour=datetime.datetime(2023, 1, 28, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.391, hour=datetime.datetime(2023, 1, 28, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.962, hour=datetime.datetime(2023, 1, 28, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.094, hour=datetime.datetime(2023, 1, 28, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.076, hour=datetime.datetime(2023, 1, 28, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.878, hour=datetime.datetime(2023, 1, 28, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.38, hour=datetime.datetime(2023, 1, 28, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.247, hour=datetime.datetime(2023, 1, 28, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.989, hour=datetime.datetime(2023, 1, 28, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.364, hour=datetime.datetime(2023, 1, 29, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.151, hour=datetime.datetime(2023, 1, 29, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.228, hour=datetime.datetime(2023, 1, 29, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.214, hour=datetime.datetime(2023, 1, 29, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.2, hour=datetime.datetime(2023, 1, 29, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.195, hour=datetime.datetime(2023, 1, 29, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.624, hour=datetime.datetime(2023, 1, 29, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.635, hour=datetime.datetime(2023, 1, 29, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.678, hour=datetime.datetime(2023, 1, 29, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.66, hour=datetime.datetime(2023, 1, 29, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.907, hour=datetime.datetime(2023, 1, 29, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.045, hour=datetime.datetime(2023, 1, 29, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.067, hour=datetime.datetime(2023, 1, 29, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.927, hour=datetime.datetime(2023, 1, 29, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.956, hour=datetime.datetime(2023, 1, 29, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.821, hour=datetime.datetime(2023, 1, 29, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.886, hour=datetime.datetime(2023, 1, 29, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.365, hour=datetime.datetime(2023, 1, 29, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.56, hour=datetime.datetime(2023, 1, 29, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.582, hour=datetime.datetime(2023, 1, 29, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.344, hour=datetime.datetime(2023, 1, 29, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.88, hour=datetime.datetime(2023, 1, 29, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.67, hour=datetime.datetime(2023, 1, 29, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.66, hour=datetime.datetime(2023, 1, 29, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.189, hour=datetime.datetime(2023, 1, 30, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.193, hour=datetime.datetime(2023, 1, 30, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.178, hour=datetime.datetime(2023, 1, 30, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.164, hour=datetime.datetime(2023, 1, 30, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.146, hour=datetime.datetime(2023, 1, 30, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.15, hour=datetime.datetime(2023, 1, 30, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.59, hour=datetime.datetime(2023, 1, 30, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.602, hour=datetime.datetime(2023, 1, 30, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.62, hour=datetime.datetime(2023, 1, 30, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.97, hour=datetime.datetime(2023, 1, 30, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.109, hour=datetime.datetime(2023, 1, 30, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.077, hour=datetime.datetime(2023, 1, 30, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.931, hour=datetime.datetime(2023, 1, 30, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.977, hour=datetime.datetime(2023, 1, 30, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.908, hour=datetime.datetime(2023, 1, 30, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.883, hour=datetime.datetime(2023, 1, 30, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.957, hour=datetime.datetime(2023, 1, 30, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.526, hour=datetime.datetime(2023, 1, 30, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.644, hour=datetime.datetime(2023, 1, 30, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.67, hour=datetime.datetime(2023, 1, 30, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.723, hour=datetime.datetime(2023, 1, 30, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.399, hour=datetime.datetime(2023, 1, 30, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.124, hour=datetime.datetime(2023, 1, 30, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.902, hour=datetime.datetime(2023, 1, 30, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.371, hour=datetime.datetime(2023, 1, 31, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.282, hour=datetime.datetime(2023, 1, 31, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.289, hour=datetime.datetime(2023, 1, 31, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.311, hour=datetime.datetime(2023, 1, 31, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.47, hour=datetime.datetime(2023, 1, 31, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.609, hour=datetime.datetime(2023, 1, 31, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.375, hour=datetime.datetime(2023, 1, 31, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.808, hour=datetime.datetime(2023, 1, 31, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.42, hour=datetime.datetime(2023, 1, 31, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.575, hour=datetime.datetime(2023, 1, 31, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.628, hour=datetime.datetime(2023, 1, 31, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.487, hour=datetime.datetime(2023, 1, 31, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.222, hour=datetime.datetime(2023, 1, 31, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>))] (<class 'list'>) 2023-01-24 13:00:01.246 DEBUG (MainThread) [custom_components.energidataservice.sensor] Current price updated to 2.703000 for DK2 2023-01-24 13:00:20.102 ERROR (MainThread) [frontend.js.latest.202301100] :0:0 ResizeObserver loop completed with undelivered notifications. 2023-01-24 13:00:20.108 ERROR (MainThread) [frontend.js.latest.202301100] :0:0 ResizeObserver loop completed with undelivered notifications. 2023-01-24 13:00:34.723 ERROR (MainThread) [frontend.js.latest.202301100] :0:0 ResizeObserver loop completed with undelivered notifications. 2023-01-24 13:07:18.559 DEBUG (MainThread) [custom_components.energidataservice] Getting latest Carnot forecast 2023-01-24 13:07:18.561 DEBUG (MainThread) [custom_components.energidataservice.forecasts.carnot] Request for 'DK2' at Carnot API URL: 'https://whale-app-dquqw.ondigitalocean.app/openapi/get_predict?region=dk2&energysource=spotprice&daysahead=7' with headers {'User-Agent': 'HomeAssistant/Energidataservice', 'Content-Type': 'application/json', 'apikey': 'xxx', 'username': 'xxx} 2023-01-24 13:07:18.766 DEBUG (MainThread) [custom_components.energidataservice.sensor] Validating sensor Energi Data Service 2023-01-24 13:07:18.772 DEBUG (SyncWorker_0) [custom_components.energidataservice.sensor] Unformatted list for 'FORECASTS': [ [ 974.9286655015546, "2023-01-25 00:00:00+01:00" ], [ 903.1162007103765, "2023-01-25 01:00:00+01:00" ], [ 881.7116011448377, "2023-01-25 02:00:00+01:00" ], [ 885.1453791522088, "2023-01-25 03:00:00+01:00" ], [ 877.2770787099906, "2023-01-25 04:00:00+01:00" ], [ 877.5456307654736, "2023-01-25 05:00:00+01:00" ], [ 986.4887035484198, "2023-01-25 06:00:00+01:00" ], [ 1601.8246342873308, "2023-01-25 07:00:00+01:00" ], [ 2095.2306093016105, "2023-01-25 08:00:00+01:00" ], [ 2170.9745425162155, "2023-01-25 09:00:00+01:00" ], [ 1593.9666364511163, "2023-01-25 10:00:00+01:00" ], [ 1449.3763607524556, "2023-01-25 11:00:00+01:00" ], [ 1154.8837890680447, "2023-01-25 12:00:00+01:00" ], [ 1070.9430101543685, "2023-01-25 13:00:00+01:00" ], [ 1047.5175441833449, "2023-01-25 14:00:00+01:00" ], [ 1038.7534532897191, "2023-01-25 15:00:00+01:00" ], [ 1080.1365325996849, "2023-01-25 16:00:00+01:00" ], [ 1215.4039100116856, "2023-01-25 17:00:00+01:00" ], [ 1468.5114734064196, "2023-01-25 18:00:00+01:00" ], [ 1541.798493474259, "2023-01-25 19:00:00+01:00" ], [ 1193.961567434519, "2023-01-25 20:00:00+01:00" ], [ 1099.6184308121747, "2023-01-25 21:00:00+01:00" ], [ 1025.110984052032, "2023-01-25 22:00:00+01:00" ], [ 912.1167489543166, "2023-01-25 23:00:00+01:00" ], [ 835.2812491822925, "2023-01-26 00:00:00+01:00" ], [ 816.7477509257717, "2023-01-26 01:00:00+01:00" ], [ 822.7794290282427, "2023-01-26 02:00:00+01:00" ], [ 843.2748446659298, "2023-01-26 03:00:00+01:00" ], [ 847.4255991341988, "2023-01-26 04:00:00+01:00" ], [ 854.1380088761377, "2023-01-26 05:00:00+01:00" ], [ 898.2257779878952, "2023-01-26 06:00:00+01:00" ], [ 1117.8013124972517, "2023-01-26 07:00:00+01:00" ], [ 1348.6327291310813, "2023-01-26 08:00:00+01:00" ], [ 1270.200576811038, "2023-01-26 09:00:00+01:00" ], [ 1242.6796665542706, "2023-01-26 10:00:00+01:00" ], [ 1150.8606626411947, "2023-01-26 11:00:00+01:00" ], [ 1120.1850809529044, "2023-01-26 12:00:00+01:00" ], [ 1108.9866330869063, "2023-01-26 13:00:00+01:00" ], [ 1099.6608423057178, "2023-01-26 14:00:00+01:00" ], [ 1086.3715265110554, "2023-01-26 15:00:00+01:00" ], [ 1131.3849373056046, "2023-01-26 16:00:00+01:00" ], [ 1265.952384491397, "2023-01-26 17:00:00+01:00" ], [ 1469.6873745455296, "2023-01-26 18:00:00+01:00" ], [ 1730.2015403416553, "2023-01-26 19:00:00+01:00" ], [ 1521.7667970425196, "2023-01-26 20:00:00+01:00" ], [ 1353.462650746037, "2023-01-26 21:00:00+01:00" ], [ 1281.8737152764113, "2023-01-26 22:00:00+01:00" ], [ 1181.7774208636902, "2023-01-26 23:00:00+01:00" ], [ 1154.53766387616, "2023-01-27 00:00:00+01:00" ], [ 1126.839081487014, "2023-01-27 01:00:00+01:00" ], [ 1147.0551797633664, "2023-01-27 02:00:00+01:00" ], [ 1169.4396552841158, "2023-01-27 03:00:00+01:00" ], [ 1210.2939712240352, "2023-01-27 04:00:00+01:00" ], [ 1288.7221407195175, "2023-01-27 05:00:00+01:00" ], [ 1535.5621123497422, "2023-01-27 06:00:00+01:00" ], [ 1969.144535513345, "2023-01-27 07:00:00+01:00" ], [ 2499.97122955132, "2023-01-27 08:00:00+01:00" ], [ 2495.989378255551, "2023-01-27 09:00:00+01:00" ], [ 2201.965855689322, "2023-01-27 10:00:00+01:00" ], [ 2008.25291057207, "2023-01-27 11:00:00+01:00" ], [ 2122.178309613216, "2023-01-27 12:00:00+01:00" ], [ 2101.6141050450547, "2023-01-27 13:00:00+01:00" ], [ 2117.7324802832313, "2023-01-27 14:00:00+01:00" ], [ 2153.1117649181588, "2023-01-27 15:00:00+01:00" ], [ 2335.1963767818556, "2023-01-27 16:00:00+01:00" ], [ 2517.7002301638086, "2023-01-27 17:00:00+01:00" ], [ 2787.3939576339735, "2023-01-27 18:00:00+01:00" ], [ 3002.9382587187592, "2023-01-27 19:00:00+01:00" ], [ 2964.450778990609, "2023-01-27 20:00:00+01:00" ], [ 2596.457364065477, "2023-01-27 21:00:00+01:00" ], [ 2374.5272909667306, "2023-01-27 22:00:00+01:00" ], [ 2280.4473995339877, "2023-01-27 23:00:00+01:00" ], [ 2061.760197321783, "2023-01-28 00:00:00+01:00" ], [ 2061.906651574069, "2023-01-28 01:00:00+01:00" ], [ 2070.845753810028, "2023-01-28 02:00:00+01:00" ], [ 1865.6046074092096, "2023-01-28 03:00:00+01:00" ], [ 1701.5272427503387, "2023-01-28 04:00:00+01:00" ], [ 1687.0621578898945, "2023-01-28 05:00:00+01:00" ], [ 1608.812624335893, "2023-01-28 06:00:00+01:00" ], [ 1502.112503248715, "2023-01-28 07:00:00+01:00" ], [ 1412.3728835327297, "2023-01-28 08:00:00+01:00" ], [ 1713.2860928169694, "2023-01-28 09:00:00+01:00" ], [ 1647.463620594826, "2023-01-28 10:00:00+01:00" ], [ 1581.465107035668, "2023-01-28 11:00:00+01:00" ], [ 1340.0919908998515, "2023-01-28 12:00:00+01:00" ], [ 1207.3412022395198, "2023-01-28 13:00:00+01:00" ], [ 1073.2417012266587, "2023-01-28 14:00:00+01:00" ], [ 1089.325378408223, "2023-01-28 15:00:00+01:00" ], [ 1276.6091180895137, "2023-01-28 16:00:00+01:00" ], [ 1511.2732821453978, "2023-01-28 17:00:00+01:00" ], [ 1615.8716219695648, "2023-01-28 18:00:00+01:00" ], [ 1601.6419103944659, "2023-01-28 19:00:00+01:00" ], [ 1443.7654886610214, "2023-01-28 20:00:00+01:00" ], [ 1264.799025344309, "2023-01-28 21:00:00+01:00" ], [ 1158.1770304173551, "2023-01-28 22:00:00+01:00" ], [ 952.0037831502342, "2023-01-28 23:00:00+01:00" ], [ 794.1778302697556, "2023-01-29 00:00:00+01:00" ], [ 625.4057649241262, "2023-01-29 01:00:00+01:00" ], [ 685.7644920833376, "2023-01-29 02:00:00+01:00" ], [ 674.6065960475084, "2023-01-29 03:00:00+01:00" ], [ 663.7262348262813, "2023-01-29 04:00:00+01:00" ], [ 660.2591450890454, "2023-01-29 05:00:00+01:00" ], [ 663.6918399178452, "2023-01-29 06:00:00+01:00" ], [ 672.5785320888318, "2023-01-29 07:00:00+01:00" ], [ 705.3187859804813, "2023-01-29 08:00:00+01:00" ], [ 690.8362390759637, "2023-01-29 09:00:00+01:00" ], [ 889.0808363674289, "2023-01-29 10:00:00+01:00" ], [ 999.6809507651902, "2023-01-29 11:00:00+01:00" ], [ 1015.649967024257, "2023-01-29 12:00:00+01:00" ], [ 904.4151906458444, "2023-01-29 13:00:00+01:00" ], [ 927.6242114781805, "2023-01-29 14:00:00+01:00" ], [ 818.9263385907619, "2023-01-29 15:00:00+01:00" ], [ 873.4358491665072, "2023-01-29 16:00:00+01:00" ], [ 1033.8875447952023, "2023-01-29 17:00:00+01:00" ], [ 1191.705394223553, "2023-01-29 18:00:00+01:00" ], [ 1208.9312314430858, "2023-01-29 19:00:00+01:00" ], [ 1023.2738857164643, "2023-01-29 20:00:00+01:00" ], [ 869.4888466150404, "2023-01-29 21:00:00+01:00" ], [ 700.8000468549009, "2023-01-29 22:00:00+01:00" ], [ 691.8384371964488, "2023-01-29 23:00:00+01:00" ], [ 655.1956664186082, "2023-01-30 00:00:00+01:00" ], [ 658.1098803621264, "2023-01-30 01:00:00+01:00" ], [ 646.0921727768672, "2023-01-30 02:00:00+01:00" ], [ 634.9433640951418, "2023-01-30 03:00:00+01:00" ], [ 621.1776092807016, "2023-01-30 04:00:00+01:00" ], [ 624.3754068199771, "2023-01-30 05:00:00+01:00" ], [ 635.92701787938, "2023-01-30 06:00:00+01:00" ], [ 645.5044012597439, "2023-01-30 07:00:00+01:00" ], [ 660.7727915586731, "2023-01-30 08:00:00+01:00" ], [ 941.2566147781771, "2023-01-30 09:00:00+01:00" ], [ 1051.5767115600447, "2023-01-30 10:00:00+01:00" ], [ 1026.0995511413616, "2023-01-30 11:00:00+01:00" ], [ 909.5533226570905, "2023-01-30 12:00:00+01:00" ], [ 946.1382134068131, "2023-01-30 13:00:00+01:00" ], [ 891.3962626372884, "2023-01-30 14:00:00+01:00" ], [ 870.3371934904579, "2023-01-30 15:00:00+01:00" ], [ 929.1944472331893, "2023-01-30 16:00:00+01:00" ], [ 1163.809366640629, "2023-01-30 17:00:00+01:00" ], [ 1257.7394414468836, "2023-01-30 18:00:00+01:00" ], [ 1278.6405856399078, "2023-01-30 19:00:00+01:00" ], [ 1321.002310673055, "2023-01-30 20:00:00+01:00" ], [ 1283.2509037287862, "2023-01-30 21:00:00+01:00" ], [ 1063.3746845829842, "2023-01-30 22:00:00+01:00" ], [ 885.4300716320847, "2023-01-30 23:00:00+01:00" ], [ 801.6195799543561, "2023-01-31 00:00:00+01:00" ], [ 729.9854017467725, "2023-01-31 01:00:00+01:00" ], [ 735.3565563153998, "2023-01-31 02:00:00+01:00" ], [ 752.7386552512008, "2023-01-31 03:00:00+01:00" ], [ 880.4559348066362, "2023-01-31 04:00:00+01:00" ], [ 991.1587047499947, "2023-01-31 05:00:00+01:00" ], [ 1262.7353294199015, "2023-01-31 06:00:00+01:00" ], [ 1610.505249519099, "2023-01-31 07:00:00+01:00" ], [ 2100.72650314, "2023-01-31 08:00:00+01:00" ], [ 2224.9401618301586, "2023-01-31 09:00:00+01:00" ], [ 2267.2136786329447, "2023-01-31 10:00:00+01:00" ], [ 2153.9130378456257, "2023-01-31 11:00:00+01:00" ], [ 1943.0789423244992, "2023-01-31 12:00:00+01:00" ] ] 2023-01-24 13:07:18.789 DEBUG (SyncWorker_0) [custom_components.energidataservice.sensor] Formatted list for 'FORECASTS': [ [ 1.581, "2023-01-25 00:00:00+01:00" ], [ 1.492, "2023-01-25 01:00:00+01:00" ], [ 1.465, "2023-01-25 02:00:00+01:00" ], [ 1.469, "2023-01-25 03:00:00+01:00" ], [ 1.459, "2023-01-25 04:00:00+01:00" ], [ 1.46, "2023-01-25 05:00:00+01:00" ], [ 2.021, "2023-01-25 06:00:00+01:00" ], [ 2.79, "2023-01-25 07:00:00+01:00" ], [ 3.407, "2023-01-25 08:00:00+01:00" ], [ 3.502, "2023-01-25 09:00:00+01:00" ], [ 2.78, "2023-01-25 10:00:00+01:00" ], [ 2.6, "2023-01-25 11:00:00+01:00" ], [ 2.231, "2023-01-25 12:00:00+01:00" ], [ 2.127, "2023-01-25 13:00:00+01:00" ], [ 2.097, "2023-01-25 14:00:00+01:00" ], [ 2.086, "2023-01-25 15:00:00+01:00" ], [ 2.138, "2023-01-25 16:00:00+01:00" ], [ 3.583, "2023-01-25 17:00:00+01:00" ], [ 3.899, "2023-01-25 18:00:00+01:00" ], [ 3.991, "2023-01-25 19:00:00+01:00" ], [ 3.556, "2023-01-25 20:00:00+01:00" ], [ 2.162, "2023-01-25 21:00:00+01:00" ], [ 2.069, "2023-01-25 22:00:00+01:00" ], [ 1.928, "2023-01-25 23:00:00+01:00" ], [ 1.407, "2023-01-26 00:00:00+01:00" ], [ 1.384, "2023-01-26 01:00:00+01:00" ], [ 1.391, "2023-01-26 02:00:00+01:00" ], [ 1.417, "2023-01-26 03:00:00+01:00" ], [ 1.422, "2023-01-26 04:00:00+01:00" ], [ 1.43, "2023-01-26 05:00:00+01:00" ], [ 1.911, "2023-01-26 06:00:00+01:00" ], [ 2.185, "2023-01-26 07:00:00+01:00" ], [ 2.474, "2023-01-26 08:00:00+01:00" ], [ 2.376, "2023-01-26 09:00:00+01:00" ], [ 2.341, "2023-01-26 10:00:00+01:00" ], [ 2.226, "2023-01-26 11:00:00+01:00" ], [ 2.188, "2023-01-26 12:00:00+01:00" ], [ 2.174, "2023-01-26 13:00:00+01:00" ], [ 2.162, "2023-01-26 14:00:00+01:00" ], [ 2.146, "2023-01-26 15:00:00+01:00" ], [ 2.202, "2023-01-26 16:00:00+01:00" ], [ 3.646, "2023-01-26 17:00:00+01:00" ], [ 3.901, "2023-01-26 18:00:00+01:00" ], [ 4.226, "2023-01-26 19:00:00+01:00" ], [ 3.966, "2023-01-26 20:00:00+01:00" ], [ 2.48, "2023-01-26 21:00:00+01:00" ], [ 2.39, "2023-01-26 22:00:00+01:00" ], [ 2.265, "2023-01-26 23:00:00+01:00" ], [ 1.806, "2023-01-27 00:00:00+01:00" ], [ 1.771, "2023-01-27 01:00:00+01:00" ], [ 1.796, "2023-01-27 02:00:00+01:00" ], [ 1.824, "2023-01-27 03:00:00+01:00" ], [ 1.875, "2023-01-27 04:00:00+01:00" ], [ 1.974, "2023-01-27 05:00:00+01:00" ], [ 2.707, "2023-01-27 06:00:00+01:00" ], [ 3.249, "2023-01-27 07:00:00+01:00" ], [ 3.913, "2023-01-27 08:00:00+01:00" ], [ 3.908, "2023-01-27 09:00:00+01:00" ], [ 3.54, "2023-01-27 10:00:00+01:00" ], [ 3.298, "2023-01-27 11:00:00+01:00" ], [ 3.441, "2023-01-27 12:00:00+01:00" ], [ 3.415, "2023-01-27 13:00:00+01:00" ], [ 3.435, "2023-01-27 14:00:00+01:00" ], [ 3.479, "2023-01-27 15:00:00+01:00" ], [ 3.707, "2023-01-27 16:00:00+01:00" ], [ 5.211, "2023-01-27 17:00:00+01:00" ], [ 5.548, "2023-01-27 18:00:00+01:00" ], [ 5.817, "2023-01-27 19:00:00+01:00" ], [ 5.769, "2023-01-27 20:00:00+01:00" ], [ 4.033, "2023-01-27 21:00:00+01:00" ], [ 3.756, "2023-01-27 22:00:00+01:00" ], [ 3.638, "2023-01-27 23:00:00+01:00" ], [ 2.94, "2023-01-28 00:00:00+01:00" ], [ 2.94, "2023-01-28 01:00:00+01:00" ], [ 2.951, "2023-01-28 02:00:00+01:00" ], [ 2.695, "2023-01-28 03:00:00+01:00" ], [ 2.49, "2023-01-28 04:00:00+01:00" ], [ 2.471, "2023-01-28 05:00:00+01:00" ], [ 2.799, "2023-01-28 06:00:00+01:00" ], [ 2.666, "2023-01-28 07:00:00+01:00" ], [ 2.553, "2023-01-28 08:00:00+01:00" ], [ 2.929, "2023-01-28 09:00:00+01:00" ], [ 2.847, "2023-01-28 10:00:00+01:00" ], [ 2.765, "2023-01-28 11:00:00+01:00" ], [ 2.463, "2023-01-28 12:00:00+01:00" ], [ 2.297, "2023-01-28 13:00:00+01:00" ], [ 2.129, "2023-01-28 14:00:00+01:00" ], [ 2.15, "2023-01-28 15:00:00+01:00" ], [ 2.384, "2023-01-28 16:00:00+01:00" ], [ 3.953, "2023-01-28 17:00:00+01:00" ], [ 4.083, "2023-01-28 18:00:00+01:00" ], [ 4.066, "2023-01-28 19:00:00+01:00" ], [ 3.868, "2023-01-28 20:00:00+01:00" ], [ 2.369, "2023-01-28 21:00:00+01:00" ], [ 2.236, "2023-01-28 22:00:00+01:00" ], [ 1.978, "2023-01-28 23:00:00+01:00" ], [ 1.355, "2023-01-29 00:00:00+01:00" ], [ 1.144, "2023-01-29 01:00:00+01:00" ], [ 1.22, "2023-01-29 02:00:00+01:00" ], [ 1.206, "2023-01-29 03:00:00+01:00" ], [ 1.192, "2023-01-29 04:00:00+01:00" ], [ 1.188, "2023-01-29 05:00:00+01:00" ], [ 1.617, "2023-01-29 06:00:00+01:00" ], [ 1.629, "2023-01-29 07:00:00+01:00" ], [ 1.67, "2023-01-29 08:00:00+01:00" ], [ 1.651, "2023-01-29 09:00:00+01:00" ], [ 1.899, "2023-01-29 10:00:00+01:00" ], [ 2.037, "2023-01-29 11:00:00+01:00" ], [ 2.057, "2023-01-29 12:00:00+01:00" ], [ 1.918, "2023-01-29 13:00:00+01:00" ], [ 1.947, "2023-01-29 14:00:00+01:00" ], [ 1.812, "2023-01-29 15:00:00+01:00" ], [ 1.88, "2023-01-29 16:00:00+01:00" ], [ 3.356, "2023-01-29 17:00:00+01:00" ], [ 3.553, "2023-01-29 18:00:00+01:00" ], [ 3.575, "2023-01-29 19:00:00+01:00" ], [ 3.343, "2023-01-29 20:00:00+01:00" ], [ 1.875, "2023-01-29 21:00:00+01:00" ], [ 1.664, "2023-01-29 22:00:00+01:00" ], [ 1.653, "2023-01-29 23:00:00+01:00" ], [ 1.182, "2023-01-30 00:00:00+01:00" ], [ 1.185, "2023-01-30 01:00:00+01:00" ], [ 1.17, "2023-01-30 02:00:00+01:00" ], [ 1.156, "2023-01-30 03:00:00+01:00" ], [ 1.139, "2023-01-30 04:00:00+01:00" ], [ 1.143, "2023-01-30 05:00:00+01:00" ], [ 1.583, "2023-01-30 06:00:00+01:00" ], [ 1.595, "2023-01-30 07:00:00+01:00" ], [ 1.614, "2023-01-30 08:00:00+01:00" ], [ 1.964, "2023-01-30 09:00:00+01:00" ], [ 2.102, "2023-01-30 10:00:00+01:00" ], [ 2.07, "2023-01-30 11:00:00+01:00" ], [ 1.925, "2023-01-30 12:00:00+01:00" ], [ 1.971, "2023-01-30 13:00:00+01:00" ], [ 1.902, "2023-01-30 14:00:00+01:00" ], [ 1.876, "2023-01-30 15:00:00+01:00" ], [ 1.949, "2023-01-30 16:00:00+01:00" ], [ 3.518, "2023-01-30 17:00:00+01:00" ], [ 3.636, "2023-01-30 18:00:00+01:00" ], [ 3.662, "2023-01-30 19:00:00+01:00" ], [ 3.715, "2023-01-30 20:00:00+01:00" ], [ 2.392, "2023-01-30 21:00:00+01:00" ], [ 2.117, "2023-01-30 22:00:00+01:00" ], [ 1.895, "2023-01-30 23:00:00+01:00" ], [ 1.365, "2023-01-31 00:00:00+01:00" ], [ 1.275, "2023-01-31 01:00:00+01:00" ], [ 1.282, "2023-01-31 02:00:00+01:00" ], [ 1.304, "2023-01-31 03:00:00+01:00" ], [ 1.463, "2023-01-31 04:00:00+01:00" ], [ 1.602, "2023-01-31 05:00:00+01:00" ], [ 2.366, "2023-01-31 06:00:00+01:00" ], [ 2.801, "2023-01-31 07:00:00+01:00" ], [ 3.414, "2023-01-31 08:00:00+01:00" ], [ 3.569, "2023-01-31 09:00:00+01:00" ], [ 3.622, "2023-01-31 10:00:00+01:00" ], [ 3.48, "2023-01-31 11:00:00+01:00" ], [ 3.217, "2023-01-31 12:00:00+01:00" ] ] 2023-01-24 13:07:18.789 DEBUG (SyncWorker_0) [custom_components.energidataservice.sensor] Calculation for PREDICTIONS in DK2 took 0.01 seconds 2023-01-24 13:07:18.791 DEBUG (MainThread) [custom_components.energidataservice.sensor] Current price updated to 2.703000 for DK2

2023-01-24 13:32:14.442 DEBUG (MainThread) [custom_components.energidataservice] Getting latest dataset 2023-01-24 13:32:14.442 DEBUG (MainThread) [custom_components.energidataservice] Updating data for 'DK2' 2023-01-24 13:32:14.443 DEBUG (MainThread) [custom_components.energidataservice.connectors] Connector(module='energidataservice', namespace='.connectors.energidataservice', regions={'DK1', 'DK2', 'NO2', 'SE4', 'SE3'}) = {'DK1', 'DK2', 'NO2', 'SE4', 'SE3'} 2023-01-24 13:32:14.444 DEBUG (MainThread) [custom_components.energidataservice.connectors] Connector(module='fixedprice', namespace='.connectors.fixedprice', regions={'FIXED'}) = {'FIXED'} 2023-01-24 13:32:14.444 DEBUG (MainThread) [custom_components.energidataservice.connectors] Connector(module='nordpool', namespace='.connectors.nordpool', regions={'DE', 'EE', 'BE', 'SE2', 'NO5', 'DK1', 'DK2', 'NO2', 'SE1', 'SE4', 'FR', 'NO1', 'FI', 'LU', 'NL', 'AT', 'SE3', 'NO3', 'NO4', 'LV', 'LT'}) = {'DE', 'EE', 'BE', 'SE2', 'NO5', 'DK1', 'DK2', 'NO2', 'SE1', 'SE4', 'FR', 'NO1', 'FI', 'LU', 'NL', 'AT', 'SE3', 'NO3', 'NO4', 'LV', 'LT'} 2023-01-24 13:32:14.445 DEBUG (MainThread) [custom_components.energidataservice] Valid connectors for 'DK2' is: [Connector(module='energidataservice', namespace='.connectors.energidataservice'), Connector(module='nordpool', namespace='.connectors.nordpool')] 2023-01-24 13:32:14.446 DEBUG (MainThread) [custom_components.energidataservice.connectors.energidataservice] Request body for DK2 via Energi Data Service API URL: https://api.energidataservice.dk/dataset/elspotprices?start=2023-01-23&end=2023-01-26&filter=%7B%22PriceArea%22:%22DK2%22%7D&sort=HourUTC%20asc&columns=HourUTC,SpotPriceEUR&limit=150 2023-01-24 13:32:14.774 DEBUG (MainThread) [custom_components.energidataservice.connectors.energidataservice] Response for DK2: [ { "HourUTC": "2023-01-22T23:00:00", "SpotPriceEUR": 148.960007 }, { "HourUTC": "2023-01-23T00:00:00", "SpotPriceEUR": 149.0 }, { "HourUTC": "2023-01-23T01:00:00", "SpotPriceEUR": 148.399994 }, { "HourUTC": "2023-01-23T02:00:00", "SpotPriceEUR": 147.589996 }, { "HourUTC": "2023-01-23T03:00:00", "SpotPriceEUR": 149.880005 }, { "HourUTC": "2023-01-23T04:00:00", "SpotPriceEUR": 150.320007 }, { "HourUTC": "2023-01-23T05:00:00", "SpotPriceEUR": 189.960007 }, { "HourUTC": "2023-01-23T06:00:00", "SpotPriceEUR": 226.539993 }, { "HourUTC": "2023-01-23T07:00:00", "SpotPriceEUR": 257.920013 }, { "HourUTC": "2023-01-23T08:00:00", "SpotPriceEUR": 270.220001 }, { "HourUTC": "2023-01-23T09:00:00", "SpotPriceEUR": 249.940002 }, { "HourUTC": "2023-01-23T10:00:00", "SpotPriceEUR": 230.229996 }, { "HourUTC": "2023-01-23T11:00:00", "SpotPriceEUR": 220.949997 }, { "HourUTC": "2023-01-23T12:00:00", "SpotPriceEUR": 219.179993 }, { "HourUTC": "2023-01-23T13:00:00", "SpotPriceEUR": 219.690002 }, { "HourUTC": "2023-01-23T14:00:00", "SpotPriceEUR": 218.990005 }, { "HourUTC": "2023-01-23T15:00:00", "SpotPriceEUR": 224.580002 }, { "HourUTC": "2023-01-23T16:00:00", "SpotPriceEUR": 248.899994 }, { "HourUTC": "2023-01-23T17:00:00", "SpotPriceEUR": 248.070007 }, { "HourUTC": "2023-01-23T18:00:00", "SpotPriceEUR": 223.190002 }, { "HourUTC": "2023-01-23T19:00:00", "SpotPriceEUR": 203.529999 }, { "HourUTC": "2023-01-23T20:00:00", "SpotPriceEUR": 184.009995 }, { "HourUTC": "2023-01-23T21:00:00", "SpotPriceEUR": 172.089996 }, { "HourUTC": "2023-01-23T22:00:00", "SpotPriceEUR": 157.009995 }, { "HourUTC": "2023-01-23T23:00:00", "SpotPriceEUR": 164.850006 }, { "HourUTC": "2023-01-24T00:00:00", "SpotPriceEUR": 160.050003 }, { "HourUTC": "2023-01-24T01:00:00", "SpotPriceEUR": 145.899994 }, { "HourUTC": "2023-01-24T02:00:00", "SpotPriceEUR": 142.399994 }, { "HourUTC": "2023-01-24T03:00:00", "SpotPriceEUR": 153.619995 }, { "HourUTC": "2023-01-24T04:00:00", "SpotPriceEUR": 156.699997 }, { "HourUTC": "2023-01-24T05:00:00", "SpotPriceEUR": 183.610001 }, { "HourUTC": "2023-01-24T06:00:00", "SpotPriceEUR": 210.080002 }, { "HourUTC": "2023-01-24T07:00:00", "SpotPriceEUR": 251.100006 }, { "HourUTC": "2023-01-24T08:00:00", "SpotPriceEUR": 256.429993 }, { "HourUTC": "2023-01-24T09:00:00", "SpotPriceEUR": 238.660004 }, { "HourUTC": "2023-01-24T10:00:00", "SpotPriceEUR": 229.960007 }, { "HourUTC": "2023-01-24T11:00:00", "SpotPriceEUR": 217.850006 }, { "HourUTC": "2023-01-24T12:00:00", "SpotPriceEUR": 205.990005 }, { "HourUTC": "2023-01-24T13:00:00", "SpotPriceEUR": 215.279999 }, { "HourUTC": "2023-01-24T14:00:00", "SpotPriceEUR": 217.979996 }, { "HourUTC": "2023-01-24T15:00:00", "SpotPriceEUR": 224.580002 }, { "HourUTC": "2023-01-24T16:00:00", "SpotPriceEUR": 250.0 }, { "HourUTC": "2023-01-24T17:00:00", "SpotPriceEUR": 250.0 }, { "HourUTC": "2023-01-24T18:00:00", "SpotPriceEUR": 231.139999 }, { "HourUTC": "2023-01-24T19:00:00", "SpotPriceEUR": 207.289993 }, { "HourUTC": "2023-01-24T20:00:00", "SpotPriceEUR": 175.449997 }, { "HourUTC": "2023-01-24T21:00:00", "SpotPriceEUR": 137.529999 }, { "HourUTC": "2023-01-24T22:00:00", "SpotPriceEUR": 128.699997 }, { "HourUTC": "2023-01-24T23:00:00", "SpotPriceEUR": 124.720001 }, { "HourUTC": "2023-01-25T00:00:00", "SpotPriceEUR": 120.25 }, { "HourUTC": "2023-01-25T01:00:00", "SpotPriceEUR": 118.410004 }, { "HourUTC": "2023-01-25T02:00:00", "SpotPriceEUR": 116.660004 }, { "HourUTC": "2023-01-25T03:00:00", "SpotPriceEUR": 116.849998 }, { "HourUTC": "2023-01-25T04:00:00", "SpotPriceEUR": 120.889999 }, { "HourUTC": "2023-01-25T05:00:00", "SpotPriceEUR": 125.269997 }, { "HourUTC": "2023-01-25T06:00:00", "SpotPriceEUR": 163.990005 }, { "HourUTC": "2023-01-25T07:00:00", "SpotPriceEUR": 165.600006 }, { "HourUTC": "2023-01-25T08:00:00", "SpotPriceEUR": 154.770004 }, { "HourUTC": "2023-01-25T09:00:00", "SpotPriceEUR": 140.669998 }, { "HourUTC": "2023-01-25T10:00:00", "SpotPriceEUR": 133.960007 }, { "HourUTC": "2023-01-25T11:00:00", "SpotPriceEUR": 131.190002 }, { "HourUTC": "2023-01-25T12:00:00", "SpotPriceEUR": 130.850006 }, { "HourUTC": "2023-01-25T13:00:00", "SpotPriceEUR": 130.5 }, { "HourUTC": "2023-01-25T14:00:00", "SpotPriceEUR": 118.260002 }, { "HourUTC": "2023-01-25T15:00:00", "SpotPriceEUR": 133.350006 }, { "HourUTC": "2023-01-25T16:00:00", "SpotPriceEUR": 143.809998 }, { "HourUTC": "2023-01-25T17:00:00", "SpotPriceEUR": 139.520004 }, { "HourUTC": "2023-01-25T18:00:00", "SpotPriceEUR": 131.380005 }, { "HourUTC": "2023-01-25T19:00:00", "SpotPriceEUR": 150.0 }, { "HourUTC": "2023-01-25T20:00:00", "SpotPriceEUR": 100.809998 }, { "HourUTC": "2023-01-25T21:00:00", "SpotPriceEUR": 100.779999 }, { "HourUTC": "2023-01-25T22:00:00", "SpotPriceEUR": 62.07 } ] 2023-01-24 13:32:14.793 DEBUG (MainThread) [custom_components.energidataservice] DK2 got values from energidataservice (namespace='.connectors.energidataservice') 2023-01-24 13:32:14.815 DEBUG (MainThread) [custom_components.energidataservice] DK2 got values from energidataservice (namespace='.connectors.energidataservice') 2023-01-24 13:32:14.816 DEBUG (MainThread) [custom_components.energidataservice] Tomorrow: [ [ 124.720001, "2023-01-25 00:00:00+01:00" ], [ 120.25, "2023-01-25 01:00:00+01:00" ], [ 118.410004, "2023-01-25 02:00:00+01:00" ], [ 116.660004, "2023-01-25 03:00:00+01:00" ], [ 116.849998, "2023-01-25 04:00:00+01:00" ], [ 120.889999, "2023-01-25 05:00:00+01:00" ], [ 125.269997, "2023-01-25 06:00:00+01:00" ], [ 163.990005, "2023-01-25 07:00:00+01:00" ], [ 165.600006, "2023-01-25 08:00:00+01:00" ], [ 154.770004, "2023-01-25 09:00:00+01:00" ], [ 140.669998, "2023-01-25 10:00:00+01:00" ], [ 133.960007, "2023-01-25 11:00:00+01:00" ], [ 131.190002, "2023-01-25 12:00:00+01:00" ], [ 130.850006, "2023-01-25 13:00:00+01:00" ], [ 130.5, "2023-01-25 14:00:00+01:00" ], [ 118.260002, "2023-01-25 15:00:00+01:00" ], [ 133.350006, "2023-01-25 16:00:00+01:00" ], [ 143.809998, "2023-01-25 17:00:00+01:00" ], [ 139.520004, "2023-01-25 18:00:00+01:00" ], [ 131.380005, "2023-01-25 19:00:00+01:00" ], [ 150.0, "2023-01-25 20:00:00+01:00" ], [ 100.809998, "2023-01-25 21:00:00+01:00" ], [ 100.779999, "2023-01-25 22:00:00+01:00" ], [ 62.07, "2023-01-25 23:00:00+01:00" ] ] 2023-01-24 13:32:14.816 DEBUG (MainThread) [custom_components.energidataservice.tariffs] Finding valid endpoints for region 'DK2' 2023-01-24 13:32:14.817 DEBUG (MainThread) [custom_components.energidataservice.tariffs.energidataservice] URL for tariff request: https://api.energidataservice.dk/dataset/DatahubPricelist?filter=%7B"note": ["Nettarif C time"],"gln_number": ["5790000705689"]%7D&sort=ValidFrom desc&limit=500 2023-01-24 13:32:14.936 DEBUG (MainThread) [custom_components.energidataservice.tariffs.energidataservice] Found possible dataset: {'ChargeOwner': 'Radius Elnet A/S', 'GLN_Number': '5790000705689', 'ChargeType': 'D03', 'ChargeTypeCode': 'DT_C_01', 'Note': 'Nettarif C time', 'Description': 'Nettarif C time', 'ValidFrom': '2023-01-01T00:00:00', 'ValidTo': '2023-02-01T00:00:00', 'VATClass': 'D02', 'Price1': 0.1701, 'Price2': 0.1701, 'Price3': 0.1701, 'Price4': 0.1701, 'Price5': 0.1701, 'Price6': 0.1701, 'Price7': 0.5103, 'Price8': 0.5103, 'Price9': 0.5103, 'Price10': 0.5103, 'Price11': 0.5103, 'Price12': 0.5103, 'Price13': 0.5103, 'Price14': 0.5103, 'Price15': 0.5103, 'Price16': 0.5103, 'Price17': 0.5103, 'Price18': 1.5308, 'Price19': 1.5308, 'Price20': 1.5308, 'Price21': 1.5308, 'Price22': 0.5103, 'Price23': 0.5103, 'Price24': 0.5103, 'TransparentInvoicing': 0, 'TaxIndicator': 0, 'ResolutionDuration': 'PT1H'} 2023-01-24 13:32:14.937 DEBUG (MainThread) [custom_components.energidataservice.tariffs.energidataservice] {'0': 0.1701, '1': 0.1701, '2': 0.1701, '3': 0.1701, '4': 0.1701, '5': 0.1701, '6': 0.5103, '7': 0.5103, '8': 0.5103, '9': 0.5103, '10': 0.5103, '11': 0.5103, '12': 0.5103, '13': 0.5103, '14': 0.5103, '15': 0.5103, '16': 0.5103, '17': 1.5308, '18': 1.5308, '19': 1.5308, '20': 1.5308, '21': 0.5103, '22': 0.5103, '23': 0.5103} 2023-01-24 13:32:14.938 DEBUG (MainThread) [custom_components.energidataservice.tariffs.energidataservice] Tariffs: { "additional_tariffs": { "transmissions_net_tarif": 0.058, "system_tarif": 0.054, "el_afgift": 0.008 }, "tariffs": { "0": 0.1701, "1": 0.1701, "2": 0.1701, "3": 0.1701, "4": 0.1701, "5": 0.1701, "6": 0.5103, "7": 0.5103, "8": 0.5103, "9": 0.5103, "10": 0.5103, "11": 0.5103, "12": 0.5103, "13": 0.5103, "14": 0.5103, "15": 0.5103, "16": 0.5103, "17": 1.5308, "18": 1.5308, "19": 1.5308, "20": 1.5308, "21": 0.5103, "22": 0.5103, "23": 0.5103 } } 2023-01-24 13:32:14.938 DEBUG (MainThread) [custom_components.energidataservice.tariffs.energidataservice] {'0': 0.1701, '1': 0.1701, '2': 0.1701, '3': 0.1701, '4': 0.1701, '5': 0.1701, '6': 0.5103, '7': 0.5103, '8': 0.5103, '9': 0.5103, '10': 0.5103, '11': 0.5103, '12': 0.5103, '13': 0.5103, '14': 0.5103, '15': 0.5103, '16': 0.5103, '17': 1.5308, '18': 1.5308, '19': 1.5308, '20': 1.5308, '21': 0.5103, '22': 0.5103, '23': 0.5103} 2023-01-24 13:32:14.940 DEBUG (MainThread) [custom_components.energidataservice.forecasts.carnot] Request for 'DK2' at Carnot API URL: 'https://whale-app-dquqw.ondigitalocean.app/openapi/get_predict?region=dk2&energysource=spotprice&daysahead=7' with headers {'User-Agent': 'HomeAssistant/Energidataservice', 'Content-Type': 'application/json', 'apikey': 'xxx', 'username': 'xxx'} 2023-01-24 13:32:15.152 DEBUG (MainThread) [custom_components.energidataservice.sensor] Validating sensor Energi Data Service 2023-01-24 13:32:15.154 DEBUG (SyncWorker_2) [custom_components.energidataservice.sensor] Unformatted list for 'TOMORROW': [ [ 124.720001, "2023-01-25 00:00:00+01:00" ], [ 120.25, "2023-01-25 01:00:00+01:00" ], [ 118.410004, "2023-01-25 02:00:00+01:00" ], [ 116.660004, "2023-01-25 03:00:00+01:00" ], [ 116.849998, "2023-01-25 04:00:00+01:00" ], [ 120.889999, "2023-01-25 05:00:00+01:00" ], [ 125.269997, "2023-01-25 06:00:00+01:00" ], [ 163.990005, "2023-01-25 07:00:00+01:00" ], [ 165.600006, "2023-01-25 08:00:00+01:00" ], [ 154.770004, "2023-01-25 09:00:00+01:00" ], [ 140.669998, "2023-01-25 10:00:00+01:00" ], [ 133.960007, "2023-01-25 11:00:00+01:00" ], [ 131.190002, "2023-01-25 12:00:00+01:00" ], [ 130.850006, "2023-01-25 13:00:00+01:00" ], [ 130.5, "2023-01-25 14:00:00+01:00" ], [ 118.260002, "2023-01-25 15:00:00+01:00" ], [ 133.350006, "2023-01-25 16:00:00+01:00" ], [ 143.809998, "2023-01-25 17:00:00+01:00" ], [ 139.520004, "2023-01-25 18:00:00+01:00" ], [ 131.380005, "2023-01-25 19:00:00+01:00" ], [ 150.0, "2023-01-25 20:00:00+01:00" ], [ 100.809998, "2023-01-25 21:00:00+01:00" ], [ 100.779999, "2023-01-25 22:00:00+01:00" ], [ 62.07, "2023-01-25 23:00:00+01:00" ] ] 2023-01-24 13:32:15.158 DEBUG (SyncWorker_2) [custom_components.energidataservice.sensor] Formatted list for 'TOMORROW': [ [ 1.522, "2023-01-25 00:00:00+01:00" ], [ 1.481, "2023-01-25 01:00:00+01:00" ], [ 1.464, "2023-01-25 02:00:00+01:00" ], [ 1.447, "2023-01-25 03:00:00+01:00" ], [ 1.449, "2023-01-25 04:00:00+01:00" ], [ 1.487, "2023-01-25 05:00:00+01:00" ], [ 1.953, "2023-01-25 06:00:00+01:00" ], [ 2.313, "2023-01-25 07:00:00+01:00" ], [ 2.328, "2023-01-25 08:00:00+01:00" ], [ 2.227, "2023-01-25 09:00:00+01:00" ], [ 2.096, "2023-01-25 10:00:00+01:00" ], [ 2.033, "2023-01-25 11:00:00+01:00" ], [ 2.008, "2023-01-25 12:00:00+01:00" ], [ 2.005, "2023-01-25 13:00:00+01:00" ], [ 2.001, "2023-01-25 14:00:00+01:00" ], [ 1.888, "2023-01-25 15:00:00+01:00" ], [ 2.028, "2023-01-25 16:00:00+01:00" ], [ 3.401, "2023-01-25 17:00:00+01:00" ], [ 3.361, "2023-01-25 18:00:00+01:00" ], [ 3.285, "2023-01-25 19:00:00+01:00" ], [ 3.458, "2023-01-25 20:00:00+01:00" ], [ 1.725, "2023-01-25 21:00:00+01:00" ], [ 1.725, "2023-01-25 22:00:00+01:00" ], [ 1.365, "2023-01-25 23:00:00+01:00" ] ] 2023-01-24 13:32:15.158 DEBUG (SyncWorker_2) [custom_components.energidataservice.sensor] Calculation for TOMORROW in DK2 took 0.0 seconds 2023-01-24 13:32:15.161 DEBUG (SyncWorker_4) [custom_components.energidataservice.sensor] Unformatted list for 'TODAY': [ [ 164.850006, "2023-01-24 00:00:00+01:00" ], [ 160.050003, "2023-01-24 01:00:00+01:00" ], [ 145.899994, "2023-01-24 02:00:00+01:00" ], [ 142.399994, "2023-01-24 03:00:00+01:00" ], [ 153.619995, "2023-01-24 04:00:00+01:00" ], [ 156.699997, "2023-01-24 05:00:00+01:00" ], [ 183.610001, "2023-01-24 06:00:00+01:00" ], [ 210.080002, "2023-01-24 07:00:00+01:00" ], [ 251.100006, "2023-01-24 08:00:00+01:00" ], [ 256.429993, "2023-01-24 09:00:00+01:00" ], [ 238.660004, "2023-01-24 10:00:00+01:00" ], [ 229.960007, "2023-01-24 11:00:00+01:00" ], [ 217.850006, "2023-01-24 12:00:00+01:00" ], [ 205.990005, "2023-01-24 13:00:00+01:00" ], [ 215.279999, "2023-01-24 14:00:00+01:00" ], [ 217.979996, "2023-01-24 15:00:00+01:00" ], [ 224.580002, "2023-01-24 16:00:00+01:00" ], [ 250.0, "2023-01-24 17:00:00+01:00" ], [ 250.0, "2023-01-24 18:00:00+01:00" ], [ 231.139999, "2023-01-24 19:00:00+01:00" ], [ 207.289993, "2023-01-24 20:00:00+01:00" ], [ 175.449997, "2023-01-24 21:00:00+01:00" ], [ 137.529999, "2023-01-24 22:00:00+01:00" ], [ 128.699997, "2023-01-24 23:00:00+01:00" ] ] 2023-01-24 13:32:15.168 DEBUG (SyncWorker_4) [custom_components.energidataservice.sensor] Formatted list for 'TODAY': [ [ 1.895, "2023-01-24 00:00:00+01:00" ], [ 1.851, "2023-01-24 01:00:00+01:00" ], [ 1.719, "2023-01-24 02:00:00+01:00" ], [ 1.687, "2023-01-24 03:00:00+01:00" ], [ 1.791, "2023-01-24 04:00:00+01:00" ], [ 1.82, "2023-01-24 05:00:00+01:00" ], [ 2.495, "2023-01-24 06:00:00+01:00" ], [ 2.741, "2023-01-24 07:00:00+01:00" ], [ 3.123, "2023-01-24 08:00:00+01:00" ], [ 3.172, "2023-01-24 09:00:00+01:00" ], [ 3.007, "2023-01-24 10:00:00+01:00" ], [ 2.926, "2023-01-24 11:00:00+01:00" ], [ 2.814, "2023-01-24 12:00:00+01:00" ], [ 2.703, "2023-01-24 13:00:00+01:00" ], [ 2.79, "2023-01-24 14:00:00+01:00" ], [ 2.815, "2023-01-24 15:00:00+01:00" ], [ 2.876, "2023-01-24 16:00:00+01:00" ], [ 4.388, "2023-01-24 17:00:00+01:00" ], [ 4.388, "2023-01-24 18:00:00+01:00" ], [ 4.213, "2023-01-24 19:00:00+01:00" ], [ 3.991, "2023-01-24 20:00:00+01:00" ], [ 2.419, "2023-01-24 21:00:00+01:00" ], [ 2.067, "2023-01-24 22:00:00+01:00" ], [ 1.985, "2023-01-24 23:00:00+01:00" ] ] 2023-01-24 13:32:15.168 DEBUG (SyncWorker_4) [custom_components.energidataservice.sensor] Calculation for TODAY in DK2 took 0.01 seconds 2023-01-24 13:32:15.176 DEBUG (SyncWorker_1) [custom_components.energidataservice.sensor] Unformatted list for 'FORECASTS': [ [ 610.3142679542386, "2023-01-26 00:00:00+01:00" ], [ 591.3454223245981, "2023-01-26 01:00:00+01:00" ], [ 598.1302410471633, "2023-01-26 02:00:00+01:00" ], [ 618.4882623083244, "2023-01-26 03:00:00+01:00" ], [ 622.5335088016649, "2023-01-26 04:00:00+01:00" ], [ 629.1212581632792, "2023-01-26 05:00:00+01:00" ], [ 673.3477680903922, "2023-01-26 06:00:00+01:00" ], [ 890.6787527280685, "2023-01-26 07:00:00+01:00" ], [ 1116.6978081812135, "2023-01-26 08:00:00+01:00" ], [ 1039.1811571488252, "2023-01-26 09:00:00+01:00" ], [ 1012.5161124627263, "2023-01-26 10:00:00+01:00" ], [ 921.8368301948756, "2023-01-26 11:00:00+01:00" ], [ 892.3433890024585, "2023-01-26 12:00:00+01:00" ], [ 881.7519864955298, "2023-01-26 13:00:00+01:00" ], [ 872.5136752367615, "2023-01-26 14:00:00+01:00" ], [ 859.4586096609546, "2023-01-26 15:00:00+01:00" ], [ 903.0177805386461, "2023-01-26 16:00:00+01:00" ], [ 1033.7196413773063, "2023-01-26 17:00:00+01:00" ], [ 1236.1313119933864, "2023-01-26 18:00:00+01:00" ], [ 1501.1101944918382, "2023-01-26 19:00:00+01:00" ], [ 1285.7480748242338, "2023-01-26 20:00:00+01:00" ], [ 1126.2563036573974, "2023-01-26 21:00:00+01:00" ], [ 1054.7226872342785, "2023-01-26 22:00:00+01:00" ], [ 955.4143820086746, "2023-01-26 23:00:00+01:00" ], [ 928.9932660344787, "2023-01-27 00:00:00+01:00" ], [ 901.2415857353758, "2023-01-27 01:00:00+01:00" ], [ 922.0094367389562, "2023-01-27 02:00:00+01:00" ], [ 944.3590156499016, "2023-01-27 03:00:00+01:00" ], [ 985.3514911052528, "2023-01-27 04:00:00+01:00" ], [ 1063.8158185267791, "2023-01-27 05:00:00+01:00" ], [ 1311.1606336574278, "2023-01-27 06:00:00+01:00" ], [ 1745.5971883309467, "2023-01-27 07:00:00+01:00" ], [ 2276.5440230049453, "2023-01-27 08:00:00+01:00" ], [ 2273.1883588368637, "2023-01-27 09:00:00+01:00" ], [ 1979.4522420153282, "2023-01-27 10:00:00+01:00" ], [ 1787.9746867310018, "2023-01-27 11:00:00+01:00" ], [ 1902.6661704648109, "2023-01-27 12:00:00+01:00" ], [ 1879.779777295103, "2023-01-27 13:00:00+01:00" ], [ 1894.3997956927878, "2023-01-27 14:00:00+01:00" ], [ 1929.316101264245, "2023-01-27 15:00:00+01:00" ], [ 2111.3770454102355, "2023-01-27 16:00:00+01:00" ], [ 2294.3292389897765, "2023-01-27 17:00:00+01:00" ], [ 2563.479418234234, "2023-01-27 18:00:00+01:00" ], [ 2779.478725230894, "2023-01-27 19:00:00+01:00" ], [ 2741.019459556696, "2023-01-27 20:00:00+01:00" ], [ 2373.219297161968, "2023-01-27 21:00:00+01:00" ], [ 2149.9766367797283, "2023-01-27 22:00:00+01:00" ], [ 2057.1591536297165, "2023-01-27 23:00:00+01:00" ], [ 1837.5127542453565, "2023-01-28 00:00:00+01:00" ], [ 1838.5287411758727, "2023-01-28 01:00:00+01:00" ], [ 1847.0836385542916, "2023-01-28 02:00:00+01:00" ], [ 1641.4192361378773, "2023-01-28 03:00:00+01:00" ], [ 1477.3991505291606, "2023-01-28 04:00:00+01:00" ], [ 1462.8212395904443, "2023-01-28 05:00:00+01:00" ], [ 1384.7477739654018, "2023-01-28 06:00:00+01:00" ], [ 1277.8705815465291, "2023-01-28 07:00:00+01:00" ], [ 1187.7913747116077, "2023-01-28 08:00:00+01:00" ], [ 1488.5983624703867, "2023-01-28 09:00:00+01:00" ], [ 1422.8043143785635, "2023-01-28 10:00:00+01:00" ], [ 1356.9263669265542, "2023-01-28 11:00:00+01:00" ], [ 1115.457543011326, "2023-01-28 12:00:00+01:00" ], [ 982.6445429381874, "2023-01-28 13:00:00+01:00" ], [ 848.5238820939804, "2023-01-28 14:00:00+01:00" ], [ 864.320052481459, "2023-01-28 15:00:00+01:00" ], [ 1051.7854092102123, "2023-01-28 16:00:00+01:00" ], [ 1286.441052054508, "2023-01-28 17:00:00+01:00" ], [ 1391.0060012593724, "2023-01-28 18:00:00+01:00" ], [ 1376.8201149829074, "2023-01-28 19:00:00+01:00" ], [ 1218.9588825686128, "2023-01-28 20:00:00+01:00" ], [ 1039.9785294811172, "2023-01-28 21:00:00+01:00" ], [ 933.3588275776053, "2023-01-28 22:00:00+01:00" ], [ 727.1786327215785, "2023-01-28 23:00:00+01:00" ], [ 569.3456267708109, "2023-01-29 00:00:00+01:00" ], [ 400.569929851853, "2023-01-29 01:00:00+01:00" ], [ 460.9325527310493, "2023-01-29 02:00:00+01:00" ], [ 449.7764534243237, "2023-01-29 03:00:00+01:00" ], [ 438.8966727939021, "2023-01-29 04:00:00+01:00" ], [ 435.43037549663586, "2023-01-29 05:00:00+01:00" ], [ 438.8650780173049, "2023-01-29 06:00:00+01:00" ], [ 447.753672398778, "2023-01-29 07:00:00+01:00" ], [ 480.49212956132396, "2023-01-29 08:00:00+01:00" ], [ 466.0083151074143, "2023-01-29 09:00:00+01:00" ], [ 664.2475505763109, "2023-01-29 10:00:00+01:00" ], [ 774.8451023969444, "2023-01-29 11:00:00+01:00" ], [ 790.8258997741727, "2023-01-29 12:00:00+01:00" ], [ 679.5869493467478, "2023-01-29 13:00:00+01:00" ], [ 702.7977926137345, "2023-01-29 14:00:00+01:00" ], [ 594.0996821716046, "2023-01-29 15:00:00+01:00" ], [ 648.6070006846599, "2023-01-29 16:00:00+01:00" ], [ 809.0592769041606, "2023-01-29 17:00:00+01:00" ], [ 966.8776555122223, "2023-01-29 18:00:00+01:00" ], [ 984.1036659339588, "2023-01-29 19:00:00+01:00" ], [ 798.4463056704074, "2023-01-29 20:00:00+01:00" ], [ 644.6639612194394, "2023-01-29 21:00:00+01:00" ], [ 475.97481665040937, "2023-01-29 22:00:00+01:00" ], [ 467.013682987778, "2023-01-29 23:00:00+01:00" ], [ 430.36940710583394, "2023-01-30 00:00:00+01:00" ], [ 433.28343579213345, "2023-01-30 01:00:00+01:00" ], [ 421.26615101880407, "2023-01-30 02:00:00+01:00" ], [ 410.11728915318815, "2023-01-30 03:00:00+01:00" ], [ 396.3514820412556, "2023-01-30 04:00:00+01:00" ], [ 399.5493850619141, "2023-01-30 05:00:00+01:00" ], [ 411.10088975353574, "2023-01-30 06:00:00+01:00" ], [ 420.67837861528267, "2023-01-30 07:00:00+01:00" ], [ 435.9479327550174, "2023-01-30 08:00:00+01:00" ], [ 716.4312525003572, "2023-01-30 09:00:00+01:00" ], [ 826.7512446872399, "2023-01-30 10:00:00+01:00" ], [ 801.2734230155174, "2023-01-30 11:00:00+01:00" ], [ 684.7273531965199, "2023-01-30 12:00:00+01:00" ], [ 721.3124823873518, "2023-01-30 13:00:00+01:00" ], [ 666.5702931767178, "2023-01-30 14:00:00+01:00" ], [ 645.5113561032156, "2023-01-30 15:00:00+01:00" ], [ 704.3686107323452, "2023-01-30 16:00:00+01:00" ], [ 938.9836090292225, "2023-01-30 17:00:00+01:00" ], [ 1032.9136143418602, "2023-01-30 18:00:00+01:00" ], [ 1053.8147254722323, "2023-01-30 19:00:00+01:00" ], [ 1096.176441641398, "2023-01-30 20:00:00+01:00" ], [ 1058.4249775421745, "2023-01-30 21:00:00+01:00" ], [ 838.5485573435382, "2023-01-30 22:00:00+01:00" ], [ 660.6040232820764, "2023-01-30 23:00:00+01:00" ], [ 576.7935581962931, "2023-01-31 00:00:00+01:00" ], [ 505.1595386539831, "2023-01-31 01:00:00+01:00" ], [ 510.53074552010276, "2023-01-31 02:00:00+01:00" ], [ 527.9128967533962, "2023-01-31 03:00:00+01:00" ], [ 655.630309268558, "2023-01-31 04:00:00+01:00" ], [ 766.33281506526, "2023-01-31 05:00:00+01:00" ], [ 1037.9094759002123, "2023-01-31 06:00:00+01:00" ], [ 1385.6793864263095, "2023-01-31 07:00:00+01:00" ], [ 1875.9005336794296, "2023-01-31 08:00:00+01:00" ], [ 2000.1142455534784, "2023-01-31 09:00:00+01:00" ], [ 2042.3880814596082, "2023-01-31 10:00:00+01:00" ], [ 1929.0871215689458, "2023-01-31 11:00:00+01:00" ], [ 1718.2531164604331, "2023-01-31 12:00:00+01:00" ], [ 1654.6075291323832, "2023-01-31 13:00:00+01:00" ] ] 2023-01-24 13:32:15.212 DEBUG (SyncWorker_1) [custom_components.energidataservice.sensor] Formatted list for 'FORECASTS': [ [ 1.126, "2023-01-26 00:00:00+01:00" ], [ 1.102, "2023-01-26 01:00:00+01:00" ], [ 1.11, "2023-01-26 02:00:00+01:00" ], [ 1.136, "2023-01-26 03:00:00+01:00" ], [ 1.141, "2023-01-26 04:00:00+01:00" ], [ 1.149, "2023-01-26 05:00:00+01:00" ], [ 1.63, "2023-01-26 06:00:00+01:00" ], [ 1.901, "2023-01-26 07:00:00+01:00" ], [ 2.184, "2023-01-26 08:00:00+01:00" ], [ 2.087, "2023-01-26 09:00:00+01:00" ], [ 2.054, "2023-01-26 10:00:00+01:00" ], [ 1.94, "2023-01-26 11:00:00+01:00" ], [ 1.903, "2023-01-26 12:00:00+01:00" ], [ 1.89, "2023-01-26 13:00:00+01:00" ], [ 1.879, "2023-01-26 14:00:00+01:00" ], [ 1.862, "2023-01-26 15:00:00+01:00" ], [ 1.917, "2023-01-26 16:00:00+01:00" ], [ 3.356, "2023-01-26 17:00:00+01:00" ], [ 3.609, "2023-01-26 18:00:00+01:00" ], [ 3.94, "2023-01-26 19:00:00+01:00" ], [ 3.671, "2023-01-26 20:00:00+01:00" ], [ 2.196, "2023-01-26 21:00:00+01:00" ], [ 2.106, "2023-01-26 22:00:00+01:00" ], [ 1.982, "2023-01-26 23:00:00+01:00" ], [ 1.524, "2023-01-27 00:00:00+01:00" ], [ 1.489, "2023-01-27 01:00:00+01:00" ], [ 1.515, "2023-01-27 02:00:00+01:00" ], [ 1.543, "2023-01-27 03:00:00+01:00" ], [ 1.594, "2023-01-27 04:00:00+01:00" ], [ 1.692, "2023-01-27 05:00:00+01:00" ], [ 2.427, "2023-01-27 06:00:00+01:00" ], [ 2.97, "2023-01-27 07:00:00+01:00" ], [ 3.634, "2023-01-27 08:00:00+01:00" ], [ 3.629, "2023-01-27 09:00:00+01:00" ], [ 3.262, "2023-01-27 10:00:00+01:00" ], [ 3.023, "2023-01-27 11:00:00+01:00" ], [ 3.166, "2023-01-27 12:00:00+01:00" ], [ 3.138, "2023-01-27 13:00:00+01:00" ], [ 3.156, "2023-01-27 14:00:00+01:00" ], [ 3.2, "2023-01-27 15:00:00+01:00" ], [ 3.427, "2023-01-27 16:00:00+01:00" ], [ 4.931, "2023-01-27 17:00:00+01:00" ], [ 5.268, "2023-01-27 18:00:00+01:00" ], [ 5.538, "2023-01-27 19:00:00+01:00" ], [ 5.49, "2023-01-27 20:00:00+01:00" ], [ 3.754, "2023-01-27 21:00:00+01:00" ], [ 3.475, "2023-01-27 22:00:00+01:00" ], [ 3.359, "2023-01-27 23:00:00+01:00" ], [ 2.66, "2023-01-28 00:00:00+01:00" ], [ 2.661, "2023-01-28 01:00:00+01:00" ], [ 2.671, "2023-01-28 02:00:00+01:00" ], [ 2.414, "2023-01-28 03:00:00+01:00" ], [ 2.209, "2023-01-28 04:00:00+01:00" ], [ 2.191, "2023-01-28 05:00:00+01:00" ], [ 2.519, "2023-01-28 06:00:00+01:00" ], [ 2.385, "2023-01-28 07:00:00+01:00" ], [ 2.273, "2023-01-28 08:00:00+01:00" ], [ 2.649, "2023-01-28 09:00:00+01:00" ], [ 2.566, "2023-01-28 10:00:00+01:00" ], [ 2.484, "2023-01-28 11:00:00+01:00" ], [ 2.182, "2023-01-28 12:00:00+01:00" ], [ 2.016, "2023-01-28 13:00:00+01:00" ], [ 1.849, "2023-01-28 14:00:00+01:00" ], [ 1.868, "2023-01-28 15:00:00+01:00" ], [ 2.103, "2023-01-28 16:00:00+01:00" ], [ 3.672, "2023-01-28 17:00:00+01:00" ], [ 3.802, "2023-01-28 18:00:00+01:00" ], [ 3.785, "2023-01-28 19:00:00+01:00" ], [ 3.587, "2023-01-28 20:00:00+01:00" ], [ 2.088, "2023-01-28 21:00:00+01:00" ], [ 1.955, "2023-01-28 22:00:00+01:00" ], [ 1.697, "2023-01-28 23:00:00+01:00" ], [ 1.074, "2023-01-29 00:00:00+01:00" ], [ 0.863, "2023-01-29 01:00:00+01:00" ], [ 0.939, "2023-01-29 02:00:00+01:00" ], [ 0.925, "2023-01-29 03:00:00+01:00" ], [ 0.911, "2023-01-29 04:00:00+01:00" ], [ 0.907, "2023-01-29 05:00:00+01:00" ], [ 1.336, "2023-01-29 06:00:00+01:00" ], [ 1.348, "2023-01-29 07:00:00+01:00" ], [ 1.388, "2023-01-29 08:00:00+01:00" ], [ 1.37, "2023-01-29 09:00:00+01:00" ], [ 1.618, "2023-01-29 10:00:00+01:00" ], [ 1.756, "2023-01-29 11:00:00+01:00" ], [ 1.776, "2023-01-29 12:00:00+01:00" ], [ 1.637, "2023-01-29 13:00:00+01:00" ], [ 1.666, "2023-01-29 14:00:00+01:00" ], [ 1.53, "2023-01-29 15:00:00+01:00" ], [ 1.599, "2023-01-29 16:00:00+01:00" ], [ 3.075, "2023-01-29 17:00:00+01:00" ], [ 3.272, "2023-01-29 18:00:00+01:00" ], [ 3.294, "2023-01-29 19:00:00+01:00" ], [ 3.062, "2023-01-29 20:00:00+01:00" ], [ 1.594, "2023-01-29 21:00:00+01:00" ], [ 1.383, "2023-01-29 22:00:00+01:00" ], [ 1.372, "2023-01-29 23:00:00+01:00" ], [ 0.901, "2023-01-30 00:00:00+01:00" ], [ 0.904, "2023-01-30 01:00:00+01:00" ], [ 0.889, "2023-01-30 02:00:00+01:00" ], [ 0.875, "2023-01-30 03:00:00+01:00" ], [ 0.858, "2023-01-30 04:00:00+01:00" ], [ 0.862, "2023-01-30 05:00:00+01:00" ], [ 1.302, "2023-01-30 06:00:00+01:00" ], [ 1.314, "2023-01-30 07:00:00+01:00" ], [ 1.333, "2023-01-30 08:00:00+01:00" ], [ 1.683, "2023-01-30 09:00:00+01:00" ], [ 1.821, "2023-01-30 10:00:00+01:00" ], [ 1.789, "2023-01-30 11:00:00+01:00" ], [ 1.644, "2023-01-30 12:00:00+01:00" ], [ 1.69, "2023-01-30 13:00:00+01:00" ], [ 1.621, "2023-01-30 14:00:00+01:00" ], [ 1.595, "2023-01-30 15:00:00+01:00" ], [ 1.668, "2023-01-30 16:00:00+01:00" ], [ 3.237, "2023-01-30 17:00:00+01:00" ], [ 3.355, "2023-01-30 18:00:00+01:00" ], [ 3.381, "2023-01-30 19:00:00+01:00" ], [ 3.434, "2023-01-30 20:00:00+01:00" ], [ 2.111, "2023-01-30 21:00:00+01:00" ], [ 1.836, "2023-01-30 22:00:00+01:00" ], [ 1.614, "2023-01-30 23:00:00+01:00" ], [ 1.084, "2023-01-31 00:00:00+01:00" ], [ 0.994, "2023-01-31 01:00:00+01:00" ], [ 1.001, "2023-01-31 02:00:00+01:00" ], [ 1.023, "2023-01-31 03:00:00+01:00" ], [ 1.182, "2023-01-31 04:00:00+01:00" ], [ 1.321, "2023-01-31 05:00:00+01:00" ], [ 2.085, "2023-01-31 06:00:00+01:00" ], [ 2.52, "2023-01-31 07:00:00+01:00" ], [ 3.133, "2023-01-31 08:00:00+01:00" ], [ 3.288, "2023-01-31 09:00:00+01:00" ], [ 3.341, "2023-01-31 10:00:00+01:00" ], [ 3.199, "2023-01-31 11:00:00+01:00" ], [ 2.936, "2023-01-31 12:00:00+01:00" ], [ 2.856, "2023-01-31 13:00:00+01:00" ] ] 2023-01-24 13:32:15.213 DEBUG (SyncWorker_1) [custom_components.energidataservice.sensor] Calculation for PREDICTIONS in DK2 took 0.03 seconds 2023-01-24 13:32:15.219 DEBUG (MainThread) [custom_components.energidataservice.sensor] Current price updated to 2.703000 for DK2 2023-01-24 13:37:18.781 DEBUG (MainThread) [custom_components.energidataservice] Getting latest Carnot forecast 2023-01-24 13:37:18.782 DEBUG (MainThread) [custom_components.energidataservice.forecasts.carnot] Request for 'DK2' at Carnot API URL: 'https://whale-app-dquqw.ondigitalocean.app/openapi/get_predict?region=dk2&energysource=spotprice&daysahead=7' with headers {'User-Agent': 'HomeAssistant/Energidataservice', 'Content-Type': 'application/json', 'apikey': 'xxx', 'username': 'xxx'} 2023-01-24 13:37:18.978 DEBUG (MainThread) [custom_components.energidataservice.sensor] Validating sensor Energi Data Service 2023-01-24 13:37:18.983 DEBUG (SyncWorker_2) [custom_components.energidataservice.sensor] Unformatted list for 'FORECASTS': [ [ 610.3142679542386, "2023-01-26 00:00:00+01:00" ], [ 591.3454223245981, "2023-01-26 01:00:00+01:00" ], [ 598.1302410471633, "2023-01-26 02:00:00+01:00" ], [ 618.4882623083244, "2023-01-26 03:00:00+01:00" ], [ 622.5335088016649, "2023-01-26 04:00:00+01:00" ], [ 629.1212581632792, "2023-01-26 05:00:00+01:00" ], [ 673.3477680903922, "2023-01-26 06:00:00+01:00" ], [ 890.6787527280685, "2023-01-26 07:00:00+01:00" ], [ 1116.6978081812135, "2023-01-26 08:00:00+01:00" ], [ 1039.1811571488252, "2023-01-26 09:00:00+01:00" ], [ 1012.5161124627263, "2023-01-26 10:00:00+01:00" ], [ 921.8368301948756, "2023-01-26 11:00:00+01:00" ], [ 892.3433890024585, "2023-01-26 12:00:00+01:00" ], [ 881.7519864955298, "2023-01-26 13:00:00+01:00" ], [ 872.5136752367615, "2023-01-26 14:00:00+01:00" ], [ 859.4586096609546, "2023-01-26 15:00:00+01:00" ], [ 903.0177805386461, "2023-01-26 16:00:00+01:00" ], [ 1033.7196413773063, "2023-01-26 17:00:00+01:00" ], [ 1236.1313119933864, "2023-01-26 18:00:00+01:00" ], [ 1501.1101944918382, "2023-01-26 19:00:00+01:00" ], [ 1285.7480748242338, "2023-01-26 20:00:00+01:00" ], [ 1126.2563036573974, "2023-01-26 21:00:00+01:00" ], [ 1054.7226872342785, "2023-01-26 22:00:00+01:00" ], [ 955.4143820086746, "2023-01-26 23:00:00+01:00" ], [ 928.9932660344787, "2023-01-27 00:00:00+01:00" ], [ 901.2415857353758, "2023-01-27 01:00:00+01:00" ], [ 922.0094367389562, "2023-01-27 02:00:00+01:00" ], [ 944.3590156499016, "2023-01-27 03:00:00+01:00" ], [ 985.3514911052528, "2023-01-27 04:00:00+01:00" ], [ 1063.8158185267791, "2023-01-27 05:00:00+01:00" ], [ 1311.1606336574278, "2023-01-27 06:00:00+01:00" ], [ 1745.5971883309467, "2023-01-27 07:00:00+01:00" ], [ 2276.5440230049453, "2023-01-27 08:00:00+01:00" ], [ 2273.1883588368637, "2023-01-27 09:00:00+01:00" ], [ 1979.4522420153282, "2023-01-27 10:00:00+01:00" ], [ 1787.9746867310018, "2023-01-27 11:00:00+01:00" ], [ 1902.6661704648109, "2023-01-27 12:00:00+01:00" ], [ 1879.779777295103, "2023-01-27 13:00:00+01:00" ], [ 1894.3997956927878, "2023-01-27 14:00:00+01:00" ], [ 1929.316101264245, "2023-01-27 15:00:00+01:00" ], [ 2111.3770454102355, "2023-01-27 16:00:00+01:00" ], [ 2294.3292389897765, "2023-01-27 17:00:00+01:00" ], [ 2563.479418234234, "2023-01-27 18:00:00+01:00" ], [ 2779.478725230894, "2023-01-27 19:00:00+01:00" ], [ 2741.019459556696, "2023-01-27 20:00:00+01:00" ], [ 2373.219297161968, "2023-01-27 21:00:00+01:00" ], [ 2149.9766367797283, "2023-01-27 22:00:00+01:00" ], [ 2057.1591536297165, "2023-01-27 23:00:00+01:00" ], [ 1837.5127542453565, "2023-01-28 00:00:00+01:00" ], [ 1838.5287411758727, "2023-01-28 01:00:00+01:00" ], [ 1847.0836385542916, "2023-01-28 02:00:00+01:00" ], [ 1641.4192361378773, "2023-01-28 03:00:00+01:00" ], [ 1477.3991505291606, "2023-01-28 04:00:00+01:00" ], [ 1462.8212395904443, "2023-01-28 05:00:00+01:00" ], [ 1384.7477739654018, "2023-01-28 06:00:00+01:00" ], [ 1277.8705815465291, "2023-01-28 07:00:00+01:00" ], [ 1187.7913747116077, "2023-01-28 08:00:00+01:00" ], [ 1488.5983624703867, "2023-01-28 09:00:00+01:00" ], [ 1422.8043143785635, "2023-01-28 10:00:00+01:00" ], [ 1356.9263669265542, "2023-01-28 11:00:00+01:00" ], [ 1115.457543011326, "2023-01-28 12:00:00+01:00" ], [ 982.6445429381874, "2023-01-28 13:00:00+01:00" ], [ 848.5238820939804, "2023-01-28 14:00:00+01:00" ], [ 864.320052481459, "2023-01-28 15:00:00+01:00" ], [ 1051.7854092102123, "2023-01-28 16:00:00+01:00" ], [ 1286.441052054508, "2023-01-28 17:00:00+01:00" ], [ 1391.0060012593724, "2023-01-28 18:00:00+01:00" ], [ 1376.8201149829074, "2023-01-28 19:00:00+01:00" ], [ 1218.9588825686128, "2023-01-28 20:00:00+01:00" ], [ 1039.9785294811172, "2023-01-28 21:00:00+01:00" ], [ 933.3588275776053, "2023-01-28 22:00:00+01:00" ], [ 727.1786327215785, "2023-01-28 23:00:00+01:00" ], [ 569.3456267708109, "2023-01-29 00:00:00+01:00" ], [ 400.569929851853, "2023-01-29 01:00:00+01:00" ], [ 460.9325527310493, "2023-01-29 02:00:00+01:00" ], [ 449.7764534243237, "2023-01-29 03:00:00+01:00" ], [ 438.8966727939021, "2023-01-29 04:00:00+01:00" ], [ 435.43037549663586, "2023-01-29 05:00:00+01:00" ], [ 438.8650780173049, "2023-01-29 06:00:00+01:00" ], [ 447.753672398778, "2023-01-29 07:00:00+01:00" ], [ 480.49212956132396, "2023-01-29 08:00:00+01:00" ], [ 466.0083151074143, "2023-01-29 09:00:00+01:00" ], [ 664.2475505763109, "2023-01-29 10:00:00+01:00" ], [ 774.8451023969444, "2023-01-29 11:00:00+01:00" ], [ 790.8258997741727, "2023-01-29 12:00:00+01:00" ], [ 679.5869493467478, "2023-01-29 13:00:00+01:00" ], [ 702.7977926137345, "2023-01-29 14:00:00+01:00" ], [ 594.0996821716046, "2023-01-29 15:00:00+01:00" ], [ 648.6070006846599, "2023-01-29 16:00:00+01:00" ], [ 809.0592769041606, "2023-01-29 17:00:00+01:00" ], [ 966.8776555122223, "2023-01-29 18:00:00+01:00" ], [ 984.1036659339588, "2023-01-29 19:00:00+01:00" ], [ 798.4463056704074, "2023-01-29 20:00:00+01:00" ], [ 644.6639612194394, "2023-01-29 21:00:00+01:00" ], [ 475.97481665040937, "2023-01-29 22:00:00+01:00" ], [ 467.013682987778, "2023-01-29 23:00:00+01:00" ], [ 430.36940710583394, "2023-01-30 00:00:00+01:00" ], [ 433.28343579213345, "2023-01-30 01:00:00+01:00" ], [ 421.26615101880407, "2023-01-30 02:00:00+01:00" ], [ 410.11728915318815, "2023-01-30 03:00:00+01:00" ], [ 396.3514820412556, "2023-01-30 04:00:00+01:00" ], [ 399.5493850619141, "2023-01-30 05:00:00+01:00" ], [ 411.10088975353574, "2023-01-30 06:00:00+01:00" ], [ 420.67837861528267, "2023-01-30 07:00:00+01:00" ], [ 435.9479327550174, "2023-01-30 08:00:00+01:00" ], [ 716.4312525003572, "2023-01-30 09:00:00+01:00" ], [ 826.7512446872399, "2023-01-30 10:00:00+01:00" ], [ 801.2734230155174, "2023-01-30 11:00:00+01:00" ], [ 684.7273531965199, "2023-01-30 12:00:00+01:00" ], [ 721.3124823873518, "2023-01-30 13:00:00+01:00" ], [ 666.5702931767178, "2023-01-30 14:00:00+01:00" ], [ 645.5113561032156, "2023-01-30 15:00:00+01:00" ], [ 704.3686107323452, "2023-01-30 16:00:00+01:00" ], [ 938.9836090292225, "2023-01-30 17:00:00+01:00" ], [ 1032.9136143418602, "2023-01-30 18:00:00+01:00" ], [ 1053.8147254722323, "2023-01-30 19:00:00+01:00" ], [ 1096.176441641398, "2023-01-30 20:00:00+01:00" ], [ 1058.4249775421745, "2023-01-30 21:00:00+01:00" ], [ 838.5485573435382, "2023-01-30 22:00:00+01:00" ], [ 660.6040232820764, "2023-01-30 23:00:00+01:00" ], [ 576.7935581962931, "2023-01-31 00:00:00+01:00" ], [ 505.1595386539831, "2023-01-31 01:00:00+01:00" ], [ 510.53074552010276, "2023-01-31 02:00:00+01:00" ], [ 527.9128967533962, "2023-01-31 03:00:00+01:00" ], [ 655.630309268558, "2023-01-31 04:00:00+01:00" ], [ 766.33281506526, "2023-01-31 05:00:00+01:00" ], [ 1037.9094759002123, "2023-01-31 06:00:00+01:00" ], [ 1385.6793864263095, "2023-01-31 07:00:00+01:00" ], [ 1875.9005336794296, "2023-01-31 08:00:00+01:00" ], [ 2000.1142455534784, "2023-01-31 09:00:00+01:00" ], [ 2042.3880814596082, "2023-01-31 10:00:00+01:00" ], [ 1929.0871215689458, "2023-01-31 11:00:00+01:00" ], [ 1718.2531164604331, "2023-01-31 12:00:00+01:00" ], [ 1654.6075291323832, "2023-01-31 13:00:00+01:00" ] ] 2023-01-24 13:37:19.004 DEBUG (SyncWorker_2) [custom_components.energidataservice.sensor] Formatted list for 'FORECASTS': [ [ 1.126, "2023-01-26 00:00:00+01:00" ], [ 1.102, "2023-01-26 01:00:00+01:00" ], [ 1.11, "2023-01-26 02:00:00+01:00" ], [ 1.136, "2023-01-26 03:00:00+01:00" ], [ 1.141, "2023-01-26 04:00:00+01:00" ], [ 1.149, "2023-01-26 05:00:00+01:00" ], [ 1.63, "2023-01-26 06:00:00+01:00" ], [ 1.901, "2023-01-26 07:00:00+01:00" ], [ 2.184, "2023-01-26 08:00:00+01:00" ], [ 2.087, "2023-01-26 09:00:00+01:00" ], [ 2.054, "2023-01-26 10:00:00+01:00" ], [ 1.94, "2023-01-26 11:00:00+01:00" ], [ 1.903, "2023-01-26 12:00:00+01:00" ], [ 1.89, "2023-01-26 13:00:00+01:00" ], [ 1.879, "2023-01-26 14:00:00+01:00" ], [ 1.862, "2023-01-26 15:00:00+01:00" ], [ 1.917, "2023-01-26 16:00:00+01:00" ], [ 3.356, "2023-01-26 17:00:00+01:00" ], [ 3.609, "2023-01-26 18:00:00+01:00" ], [ 3.94, "2023-01-26 19:00:00+01:00" ], [ 3.671, "2023-01-26 20:00:00+01:00" ], [ 2.196, "2023-01-26 21:00:00+01:00" ], [ 2.106, "2023-01-26 22:00:00+01:00" ], [ 1.982, "2023-01-26 23:00:00+01:00" ], [ 1.524, "2023-01-27 00:00:00+01:00" ], [ 1.489, "2023-01-27 01:00:00+01:00" ], [ 1.515, "2023-01-27 02:00:00+01:00" ], [ 1.543, "2023-01-27 03:00:00+01:00" ], [ 1.594, "2023-01-27 04:00:00+01:00" ], [ 1.692, "2023-01-27 05:00:00+01:00" ], [ 2.427, "2023-01-27 06:00:00+01:00" ], [ 2.97, "2023-01-27 07:00:00+01:00" ], [ 3.634, "2023-01-27 08:00:00+01:00" ], [ 3.629, "2023-01-27 09:00:00+01:00" ], [ 3.262, "2023-01-27 10:00:00+01:00" ], [ 3.023, "2023-01-27 11:00:00+01:00" ], [ 3.166, "2023-01-27 12:00:00+01:00" ], [ 3.138, "2023-01-27 13:00:00+01:00" ], [ 3.156, "2023-01-27 14:00:00+01:00" ], [ 3.2, "2023-01-27 15:00:00+01:00" ], [ 3.427, "2023-01-27 16:00:00+01:00" ], [ 4.931, "2023-01-27 17:00:00+01:00" ], [ 5.268, "2023-01-27 18:00:00+01:00" ], [ 5.538, "2023-01-27 19:00:00+01:00" ], [ 5.49, "2023-01-27 20:00:00+01:00" ], [ 3.754, "2023-01-27 21:00:00+01:00" ], [ 3.475, "2023-01-27 22:00:00+01:00" ], [ 3.359, "2023-01-27 23:00:00+01:00" ], [ 2.66, "2023-01-28 00:00:00+01:00" ], [ 2.661, "2023-01-28 01:00:00+01:00" ], [ 2.671, "2023-01-28 02:00:00+01:00" ], [ 2.414, "2023-01-28 03:00:00+01:00" ], [ 2.209, "2023-01-28 04:00:00+01:00" ], [ 2.191, "2023-01-28 05:00:00+01:00" ], [ 2.519, "2023-01-28 06:00:00+01:00" ], [ 2.385, "2023-01-28 07:00:00+01:00" ], [ 2.273, "2023-01-28 08:00:00+01:00" ], [ 2.649, "2023-01-28 09:00:00+01:00" ], [ 2.566, "2023-01-28 10:00:00+01:00" ], [ 2.484, "2023-01-28 11:00:00+01:00" ], [ 2.182, "2023-01-28 12:00:00+01:00" ], [ 2.016, "2023-01-28 13:00:00+01:00" ], [ 1.849, "2023-01-28 14:00:00+01:00" ], [ 1.868, "2023-01-28 15:00:00+01:00" ], [ 2.103, "2023-01-28 16:00:00+01:00" ], [ 3.672, "2023-01-28 17:00:00+01:00" ], [ 3.802, "2023-01-28 18:00:00+01:00" ], [ 3.785, "2023-01-28 19:00:00+01:00" ], [ 3.587, "2023-01-28 20:00:00+01:00" ], [ 2.088, "2023-01-28 21:00:00+01:00" ], [ 1.955, "2023-01-28 22:00:00+01:00" ], [ 1.697, "2023-01-28 23:00:00+01:00" ], [ 1.074, "2023-01-29 00:00:00+01:00" ], [ 0.863, "2023-01-29 01:00:00+01:00" ], [ 0.939, "2023-01-29 02:00:00+01:00" ], [ 0.925, "2023-01-29 03:00:00+01:00" ], [ 0.911, "2023-01-29 04:00:00+01:00" ], [ 0.907, "2023-01-29 05:00:00+01:00" ], [ 1.336, "2023-01-29 06:00:00+01:00" ], [ 1.348, "2023-01-29 07:00:00+01:00" ], [ 1.388, "2023-01-29 08:00:00+01:00" ], [ 1.37, "2023-01-29 09:00:00+01:00" ], [ 1.618, "2023-01-29 10:00:00+01:00" ], [ 1.756, "2023-01-29 11:00:00+01:00" ], [ 1.776, "2023-01-29 12:00:00+01:00" ], [ 1.637, "2023-01-29 13:00:00+01:00" ], [ 1.666, "2023-01-29 14:00:00+01:00" ], [ 1.53, "2023-01-29 15:00:00+01:00" ], [ 1.599, "2023-01-29 16:00:00+01:00" ], [ 3.075, "2023-01-29 17:00:00+01:00" ], [ 3.272, "2023-01-29 18:00:00+01:00" ], [ 3.294, "2023-01-29 19:00:00+01:00" ], [ 3.062, "2023-01-29 20:00:00+01:00" ], [ 1.594, "2023-01-29 21:00:00+01:00" ], [ 1.383, "2023-01-29 22:00:00+01:00" ], [ 1.372, "2023-01-29 23:00:00+01:00" ], [ 0.901, "2023-01-30 00:00:00+01:00" ], [ 0.904, "2023-01-30 01:00:00+01:00" ], [ 0.889, "2023-01-30 02:00:00+01:00" ], [ 0.875, "2023-01-30 03:00:00+01:00" ], [ 0.858, "2023-01-30 04:00:00+01:00" ], [ 0.862, "2023-01-30 05:00:00+01:00" ], [ 1.302, "2023-01-30 06:00:00+01:00" ], [ 1.314, "2023-01-30 07:00:00+01:00" ], [ 1.333, "2023-01-30 08:00:00+01:00" ], [ 1.683, "2023-01-30 09:00:00+01:00" ], [ 1.821, "2023-01-30 10:00:00+01:00" ], [ 1.789, "2023-01-30 11:00:00+01:00" ], [ 1.644, "2023-01-30 12:00:00+01:00" ], [ 1.69, "2023-01-30 13:00:00+01:00" ], [ 1.621, "2023-01-30 14:00:00+01:00" ], [ 1.595, "2023-01-30 15:00:00+01:00" ], [ 1.668, "2023-01-30 16:00:00+01:00" ], [ 3.237, "2023-01-30 17:00:00+01:00" ], [ 3.355, "2023-01-30 18:00:00+01:00" ], [ 3.381, "2023-01-30 19:00:00+01:00" ], [ 3.434, "2023-01-30 20:00:00+01:00" ], [ 2.111, "2023-01-30 21:00:00+01:00" ], [ 1.836, "2023-01-30 22:00:00+01:00" ], [ 1.614, "2023-01-30 23:00:00+01:00" ], [ 1.084, "2023-01-31 00:00:00+01:00" ], [ 0.994, "2023-01-31 01:00:00+01:00" ], [ 1.001, "2023-01-31 02:00:00+01:00" ], [ 1.023, "2023-01-31 03:00:00+01:00" ], [ 1.182, "2023-01-31 04:00:00+01:00" ], [ 1.321, "2023-01-31 05:00:00+01:00" ], [ 2.085, "2023-01-31 06:00:00+01:00" ], [ 2.52, "2023-01-31 07:00:00+01:00" ], [ 3.133, "2023-01-31 08:00:00+01:00" ], [ 3.288, "2023-01-31 09:00:00+01:00" ], [ 3.341, "2023-01-31 10:00:00+01:00" ], [ 3.199, "2023-01-31 11:00:00+01:00" ], [ 2.936, "2023-01-31 12:00:00+01:00" ], [ 2.856, "2023-01-31 13:00:00+01:00" ] ] 2023-01-24 13:37:19.004 DEBUG (SyncWorker_2) [custom_components.energidataservice.sensor] Calculation for PREDICTIONS in DK2 took 0.01 seconds 2023-01-24 13:37:19.008 DEBUG (MainThread) [custom_components.energidataservice.sensor] Current price updated to 2.703000 for DK2

Updated with removed credentials

MTrab commented 1 year ago

I cannot reproduce this - have you tried removing the integration and reinstall it from HACS?

ruteclrp commented 1 year ago

Will do this evening. Reverting

ruteclrp commented 1 year ago

OK, did it already now. removed the integration in settings and in HACS afterwards. Reinstalled everything from scratch and the issue persist. Still Tomorrow_valid=true, Tomorrow populated with prices, but Raw_tomorrow is empty.

ruteclrp commented 1 year ago

Did some further investigation and uncovered a rather strange behaviour. When I look at a simple entity card in one of the dashboards and drop down the attribute list, raw_tomorrow is always empty (contains a "-") irrespective of which state the tomorrow_valid flag has.

If I reload the integration from the Settings/integrations page and look at the entity from the device card on this page, the attribute drop down has the raw_tomorrow fully populated.

If I then return to look at the simple entity card in the dashboard the attribute raw_tomorrow is again empty.

It is also empty on the Settings/integration page until it is again reloaded.

Maybe this can give a hint as to what goes on?

ruteclrp commented 1 year ago

Also, traced the log from when the raw_tomorrow was available from the entity attribute in the settings/integrations - switching to the dashboard with an Apexchart-card showing the raw_tomorrow attribute (which now turns out empty) - and this is the result (unfiltered)

2023-01-25 22:00:00.278 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/automation/init.py", line 517, in async_trigger and not self._cond_func(variables) File "/usr/src/homeassistant/homeassistant/components/automation/init.py", line 873, in if_action if not check(hass, variables): File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 145, in wrapper result = condition(hass, variables) File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 892, in if_in_zone if zone(hass, zone_entity_id, entity_id): File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 872, in zone return zone_cmp.in_zone( File "/usr/src/homeassistant/homeassistant/components/zone/init.py", line 153, in in_zone zone_dist = distance( File "/usr/src/homeassistant/homeassistant/util/location.py", line 70, in distance result = vincenty((lat1, lon1), (lat2, lon2)) File "/usr/src/homeassistant/homeassistant/util/location.py", line 95, in vincenty U1 = math.atan((1 - FLATTENING) * math.tan(math.radians(point1[0]))) TypeError: must be real number, not str 2023-01-25 22:00:01.149 DEBUG (MainThread) [custom_components.energidataservice] New hour, updating state 2023-01-25 22:00:01.150 DEBUG (MainThread) [custom_components.energidataservice.sensor] Validating sensor Energi Data Service 2023-01-25 22:00:01.150 DEBUG (MainThread) [custom_components.energidataservice.sensor] Predictions: [Interval(price=1.448, hour=datetime.datetime(2023, 1, 27, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.44, hour=datetime.datetime(2023, 1, 27, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.445, hour=datetime.datetime(2023, 1, 27, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.486, hour=datetime.datetime(2023, 1, 27, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.522, hour=datetime.datetime(2023, 1, 27, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.566, hour=datetime.datetime(2023, 1, 27, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.087, hour=datetime.datetime(2023, 1, 27, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.852, hour=datetime.datetime(2023, 1, 27, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.383, hour=datetime.datetime(2023, 1, 27, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.578, hour=datetime.datetime(2023, 1, 27, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.396, hour=datetime.datetime(2023, 1, 27, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.043, hour=datetime.datetime(2023, 1, 27, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.03, hour=datetime.datetime(2023, 1, 27, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.916, hour=datetime.datetime(2023, 1, 27, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.886, hour=datetime.datetime(2023, 1, 27, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.033, hour=datetime.datetime(2023, 1, 27, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.143, hour=datetime.datetime(2023, 1, 27, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.703, hour=datetime.datetime(2023, 1, 27, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.871, hour=datetime.datetime(2023, 1, 27, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=5.086, hour=datetime.datetime(2023, 1, 27, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.865, hour=datetime.datetime(2023, 1, 27, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.492, hour=datetime.datetime(2023, 1, 27, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.513, hour=datetime.datetime(2023, 1, 27, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.472, hour=datetime.datetime(2023, 1, 27, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.908, hour=datetime.datetime(2023, 1, 28, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.855, hour=datetime.datetime(2023, 1, 28, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.774, hour=datetime.datetime(2023, 1, 28, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.692, hour=datetime.datetime(2023, 1, 28, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.607, hour=datetime.datetime(2023, 1, 28, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.575, hour=datetime.datetime(2023, 1, 28, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.028, hour=datetime.datetime(2023, 1, 28, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.22, hour=datetime.datetime(2023, 1, 28, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.365, hour=datetime.datetime(2023, 1, 28, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.411, hour=datetime.datetime(2023, 1, 28, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.464, hour=datetime.datetime(2023, 1, 28, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.242, hour=datetime.datetime(2023, 1, 28, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.0, hour=datetime.datetime(2023, 1, 28, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.779, hour=datetime.datetime(2023, 1, 28, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.575, hour=datetime.datetime(2023, 1, 28, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.63, hour=datetime.datetime(2023, 1, 28, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.971, hour=datetime.datetime(2023, 1, 28, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.351, hour=datetime.datetime(2023, 1, 28, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.663, hour=datetime.datetime(2023, 1, 28, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.606, hour=datetime.datetime(2023, 1, 28, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.299, hour=datetime.datetime(2023, 1, 28, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.754, hour=datetime.datetime(2023, 1, 28, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.34, hour=datetime.datetime(2023, 1, 28, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.322, hour=datetime.datetime(2023, 1, 28, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.788, hour=datetime.datetime(2023, 1, 29, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.437, hour=datetime.datetime(2023, 1, 29, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.961, hour=datetime.datetime(2023, 1, 29, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.057, hour=datetime.datetime(2023, 1, 29, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.023, hour=datetime.datetime(2023, 1, 29, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.01, hour=datetime.datetime(2023, 1, 29, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.388, hour=datetime.datetime(2023, 1, 29, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.448, hour=datetime.datetime(2023, 1, 29, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.524, hour=datetime.datetime(2023, 1, 29, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.542, hour=datetime.datetime(2023, 1, 29, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.77, hour=datetime.datetime(2023, 1, 29, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.815, hour=datetime.datetime(2023, 1, 29, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.676, hour=datetime.datetime(2023, 1, 29, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.557, hour=datetime.datetime(2023, 1, 29, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.445, hour=datetime.datetime(2023, 1, 29, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.414, hour=datetime.datetime(2023, 1, 29, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.308, hour=datetime.datetime(2023, 1, 29, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.714, hour=datetime.datetime(2023, 1, 29, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.004, hour=datetime.datetime(2023, 1, 29, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.091, hour=datetime.datetime(2023, 1, 29, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.882, hour=datetime.datetime(2023, 1, 29, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.498, hour=datetime.datetime(2023, 1, 29, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.48, hour=datetime.datetime(2023, 1, 29, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.465, hour=datetime.datetime(2023, 1, 29, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.015, hour=datetime.datetime(2023, 1, 30, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.997, hour=datetime.datetime(2023, 1, 30, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.981, hour=datetime.datetime(2023, 1, 30, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.977, hour=datetime.datetime(2023, 1, 30, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.996, hour=datetime.datetime(2023, 1, 30, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.027, hour=datetime.datetime(2023, 1, 30, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.483, hour=datetime.datetime(2023, 1, 30, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.496, hour=datetime.datetime(2023, 1, 30, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.79, hour=datetime.datetime(2023, 1, 30, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.045, hour=datetime.datetime(2023, 1, 30, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.97, hour=datetime.datetime(2023, 1, 30, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.913, hour=datetime.datetime(2023, 1, 30, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.916, hour=datetime.datetime(2023, 1, 30, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.897, hour=datetime.datetime(2023, 1, 30, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.855, hour=datetime.datetime(2023, 1, 30, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.854, hour=datetime.datetime(2023, 1, 30, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.966, hour=datetime.datetime(2023, 1, 30, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.467, hour=datetime.datetime(2023, 1, 30, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.525, hour=datetime.datetime(2023, 1, 30, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.606, hour=datetime.datetime(2023, 1, 30, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.561, hour=datetime.datetime(2023, 1, 30, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.226, hour=datetime.datetime(2023, 1, 30, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.137, hour=datetime.datetime(2023, 1, 30, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.821, hour=datetime.datetime(2023, 1, 30, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.414, hour=datetime.datetime(2023, 1, 31, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.263, hour=datetime.datetime(2023, 1, 31, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.138, hour=datetime.datetime(2023, 1, 31, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.1, hour=datetime.datetime(2023, 1, 31, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.133, hour=datetime.datetime(2023, 1, 31, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.231, hour=datetime.datetime(2023, 1, 31, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.88, hour=datetime.datetime(2023, 1, 31, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.452, hour=datetime.datetime(2023, 1, 31, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.191, hour=datetime.datetime(2023, 1, 31, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.402, hour=datetime.datetime(2023, 1, 31, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.233, hour=datetime.datetime(2023, 1, 31, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.067, hour=datetime.datetime(2023, 1, 31, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.906, hour=datetime.datetime(2023, 1, 31, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.864, hour=datetime.datetime(2023, 1, 31, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.846, hour=datetime.datetime(2023, 1, 31, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.881, hour=datetime.datetime(2023, 1, 31, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.84, hour=datetime.datetime(2023, 1, 31, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.543, hour=datetime.datetime(2023, 1, 31, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.615, hour=datetime.datetime(2023, 1, 31, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.522, hour=datetime.datetime(2023, 1, 31, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.171, hour=datetime.datetime(2023, 1, 31, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.253, hour=datetime.datetime(2023, 1, 31, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.162, hour=datetime.datetime(2023, 1, 31, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.76, hour=datetime.datetime(2023, 1, 31, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.153, hour=datetime.datetime(2023, 2, 1, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.045, hour=datetime.datetime(2023, 2, 1, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.998, hour=datetime.datetime(2023, 2, 1, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.016, hour=datetime.datetime(2023, 2, 1, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.015, hour=datetime.datetime(2023, 2, 1, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.0, hour=datetime.datetime(2023, 2, 1, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.498, hour=datetime.datetime(2023, 2, 1, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.97, hour=datetime.datetime(2023, 2, 1, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.198, hour=datetime.datetime(2023, 2, 1, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.191, hour=datetime.datetime(2023, 2, 1, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.962, hour=datetime.datetime(2023, 2, 1, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.795, hour=datetime.datetime(2023, 2, 1, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.716, hour=datetime.datetime(2023, 2, 1, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.679, hour=datetime.datetime(2023, 2, 1, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.626, hour=datetime.datetime(2023, 2, 1, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.488, hour=datetime.datetime(2023, 2, 1, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.862, hour=datetime.datetime(2023, 2, 1, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.244, hour=datetime.datetime(2023, 2, 1, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.422, hour=datetime.datetime(2023, 2, 1, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.439, hour=datetime.datetime(2023, 2, 1, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.379, hour=datetime.datetime(2023, 2, 1, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.922, hour=datetime.datetime(2023, 2, 1, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>))] (<class 'list'>) 2023-01-25 22:00:01.157 DEBUG (MainThread) [custom_components.energidataservice.sensor] Current price updated to 1.725000 for DK2 2023-01-25 22:00:01.158 DEBUG (MainThread) [custom_components.energidataservice.sensor] Validating sensor Energi Data Service 2023-01-25 22:00:01.159 DEBUG (MainThread) [custom_components.energidataservice.sensor] Predictions: [Interval(price=1.448, hour=datetime.datetime(2023, 1, 27, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.44, hour=datetime.datetime(2023, 1, 27, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.445, hour=datetime.datetime(2023, 1, 27, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.486, hour=datetime.datetime(2023, 1, 27, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.522, hour=datetime.datetime(2023, 1, 27, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.566, hour=datetime.datetime(2023, 1, 27, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.087, hour=datetime.datetime(2023, 1, 27, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.852, hour=datetime.datetime(2023, 1, 27, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.383, hour=datetime.datetime(2023, 1, 27, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.578, hour=datetime.datetime(2023, 1, 27, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.396, hour=datetime.datetime(2023, 1, 27, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.043, hour=datetime.datetime(2023, 1, 27, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.03, hour=datetime.datetime(2023, 1, 27, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.916, hour=datetime.datetime(2023, 1, 27, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.886, hour=datetime.datetime(2023, 1, 27, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.033, hour=datetime.datetime(2023, 1, 27, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.143, hour=datetime.datetime(2023, 1, 27, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.703, hour=datetime.datetime(2023, 1, 27, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.871, hour=datetime.datetime(2023, 1, 27, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=5.086, hour=datetime.datetime(2023, 1, 27, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.865, hour=datetime.datetime(2023, 1, 27, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.492, hour=datetime.datetime(2023, 1, 27, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.513, hour=datetime.datetime(2023, 1, 27, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.472, hour=datetime.datetime(2023, 1, 27, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.908, hour=datetime.datetime(2023, 1, 28, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.855, hour=datetime.datetime(2023, 1, 28, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.774, hour=datetime.datetime(2023, 1, 28, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.692, hour=datetime.datetime(2023, 1, 28, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.607, hour=datetime.datetime(2023, 1, 28, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.575, hour=datetime.datetime(2023, 1, 28, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.028, hour=datetime.datetime(2023, 1, 28, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.22, hour=datetime.datetime(2023, 1, 28, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.365, hour=datetime.datetime(2023, 1, 28, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.411, hour=datetime.datetime(2023, 1, 28, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.464, hour=datetime.datetime(2023, 1, 28, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.242, hour=datetime.datetime(2023, 1, 28, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.0, hour=datetime.datetime(2023, 1, 28, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.779, hour=datetime.datetime(2023, 1, 28, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.575, hour=datetime.datetime(2023, 1, 28, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.63, hour=datetime.datetime(2023, 1, 28, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.971, hour=datetime.datetime(2023, 1, 28, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.351, hour=datetime.datetime(2023, 1, 28, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.663, hour=datetime.datetime(2023, 1, 28, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.606, hour=datetime.datetime(2023, 1, 28, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.299, hour=datetime.datetime(2023, 1, 28, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.754, hour=datetime.datetime(2023, 1, 28, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.34, hour=datetime.datetime(2023, 1, 28, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.322, hour=datetime.datetime(2023, 1, 28, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.788, hour=datetime.datetime(2023, 1, 29, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.437, hour=datetime.datetime(2023, 1, 29, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.961, hour=datetime.datetime(2023, 1, 29, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.057, hour=datetime.datetime(2023, 1, 29, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.023, hour=datetime.datetime(2023, 1, 29, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.01, hour=datetime.datetime(2023, 1, 29, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.388, hour=datetime.datetime(2023, 1, 29, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.448, hour=datetime.datetime(2023, 1, 29, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.524, hour=datetime.datetime(2023, 1, 29, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.542, hour=datetime.datetime(2023, 1, 29, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.77, hour=datetime.datetime(2023, 1, 29, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.815, hour=datetime.datetime(2023, 1, 29, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.676, hour=datetime.datetime(2023, 1, 29, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.557, hour=datetime.datetime(2023, 1, 29, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.445, hour=datetime.datetime(2023, 1, 29, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.414, hour=datetime.datetime(2023, 1, 29, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.308, hour=datetime.datetime(2023, 1, 29, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.714, hour=datetime.datetime(2023, 1, 29, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.004, hour=datetime.datetime(2023, 1, 29, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.091, hour=datetime.datetime(2023, 1, 29, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.882, hour=datetime.datetime(2023, 1, 29, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.498, hour=datetime.datetime(2023, 1, 29, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.48, hour=datetime.datetime(2023, 1, 29, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.465, hour=datetime.datetime(2023, 1, 29, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.015, hour=datetime.datetime(2023, 1, 30, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.997, hour=datetime.datetime(2023, 1, 30, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.981, hour=datetime.datetime(2023, 1, 30, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.977, hour=datetime.datetime(2023, 1, 30, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.996, hour=datetime.datetime(2023, 1, 30, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.027, hour=datetime.datetime(2023, 1, 30, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.483, hour=datetime.datetime(2023, 1, 30, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.496, hour=datetime.datetime(2023, 1, 30, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.79, hour=datetime.datetime(2023, 1, 30, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.045, hour=datetime.datetime(2023, 1, 30, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.97, hour=datetime.datetime(2023, 1, 30, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.913, hour=datetime.datetime(2023, 1, 30, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.916, hour=datetime.datetime(2023, 1, 30, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.897, hour=datetime.datetime(2023, 1, 30, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.855, hour=datetime.datetime(2023, 1, 30, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.854, hour=datetime.datetime(2023, 1, 30, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.966, hour=datetime.datetime(2023, 1, 30, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.467, hour=datetime.datetime(2023, 1, 30, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.525, hour=datetime.datetime(2023, 1, 30, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.606, hour=datetime.datetime(2023, 1, 30, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.561, hour=datetime.datetime(2023, 1, 30, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.226, hour=datetime.datetime(2023, 1, 30, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.137, hour=datetime.datetime(2023, 1, 30, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.821, hour=datetime.datetime(2023, 1, 30, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.414, hour=datetime.datetime(2023, 1, 31, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.263, hour=datetime.datetime(2023, 1, 31, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.138, hour=datetime.datetime(2023, 1, 31, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.1, hour=datetime.datetime(2023, 1, 31, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.133, hour=datetime.datetime(2023, 1, 31, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.231, hour=datetime.datetime(2023, 1, 31, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.88, hour=datetime.datetime(2023, 1, 31, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.452, hour=datetime.datetime(2023, 1, 31, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.191, hour=datetime.datetime(2023, 1, 31, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.402, hour=datetime.datetime(2023, 1, 31, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.233, hour=datetime.datetime(2023, 1, 31, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.067, hour=datetime.datetime(2023, 1, 31, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.906, hour=datetime.datetime(2023, 1, 31, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.864, hour=datetime.datetime(2023, 1, 31, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.846, hour=datetime.datetime(2023, 1, 31, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.881, hour=datetime.datetime(2023, 1, 31, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.84, hour=datetime.datetime(2023, 1, 31, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.543, hour=datetime.datetime(2023, 1, 31, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.615, hour=datetime.datetime(2023, 1, 31, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.522, hour=datetime.datetime(2023, 1, 31, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=4.171, hour=datetime.datetime(2023, 1, 31, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.253, hour=datetime.datetime(2023, 1, 31, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.162, hour=datetime.datetime(2023, 1, 31, 22, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.76, hour=datetime.datetime(2023, 1, 31, 23, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.153, hour=datetime.datetime(2023, 2, 1, 0, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.045, hour=datetime.datetime(2023, 2, 1, 1, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=0.998, hour=datetime.datetime(2023, 2, 1, 2, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.016, hour=datetime.datetime(2023, 2, 1, 3, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.015, hour=datetime.datetime(2023, 2, 1, 4, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.0, hour=datetime.datetime(2023, 2, 1, 5, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.498, hour=datetime.datetime(2023, 2, 1, 6, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.97, hour=datetime.datetime(2023, 2, 1, 7, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.198, hour=datetime.datetime(2023, 2, 1, 8, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=2.191, hour=datetime.datetime(2023, 2, 1, 9, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.962, hour=datetime.datetime(2023, 2, 1, 10, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.795, hour=datetime.datetime(2023, 2, 1, 11, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.716, hour=datetime.datetime(2023, 2, 1, 12, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.679, hour=datetime.datetime(2023, 2, 1, 13, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.626, hour=datetime.datetime(2023, 2, 1, 14, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.488, hour=datetime.datetime(2023, 2, 1, 15, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.862, hour=datetime.datetime(2023, 2, 1, 16, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.244, hour=datetime.datetime(2023, 2, 1, 17, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.422, hour=datetime.datetime(2023, 2, 1, 18, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.439, hour=datetime.datetime(2023, 2, 1, 19, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=3.379, hour=datetime.datetime(2023, 2, 1, 20, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>)), Interval(price=1.922, hour=datetime.datetime(2023, 2, 1, 21, 0, tzinfo=<DstTzInfo 'Europe/Copenhagen' CET+1:00:00 STD>))] (<class 'list'>) 2023-01-25 22:00:01.165 DEBUG (MainThread) [custom_components.energidataservice.sensor] Current price updated to 1.725000 for DK2 2023-01-25 22:00:04.053 INFO (MainThread) [backoff] Backing off _do_read(...) for 1.0s (asyncio.exceptions.TimeoutError)

MTrab commented 1 year ago

That log snip, to me, looks like you have other issues to attend.

2023-01-25 22:00:00.278 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/init.py", line 517, in async_trigger
and not self._cond_func(variables)
File "/usr/src/homeassistant/homeassistant/components/automation/init.py", line 873, in if_action
if not check(hass, variables):
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 145, in wrapper
result = condition(hass, variables)
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 892, in if_in_zone
if zone(hass, zone_entity_id, entity_id):
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 872, in zone
return zone_cmp.in_zone(
File "/usr/src/homeassistant/homeassistant/components/zone/init.py", line 153, in in_zone
zone_dist = distance(
File "/usr/src/homeassistant/homeassistant/util/location.py", line 70, in distance
result = vincenty((lat1, lon1), (lat2, lon2))
File "/usr/src/homeassistant/homeassistant/util/location.py", line 95, in vincenty
U1 = math.atan((1 - FLATTENING) * math.tan(math.radians(point1[0])))
TypeError: must be real number, not str

and

2023-01-25 22:00:04.053 INFO (MainThread) [backoff] Backing off _do_read(...) for 1.0s (asyncio.exceptions.TimeoutError)

is from the core HA!

MTrab commented 1 year ago

And I cannot, on any of my tests - neither local nor remote - replicate this error

ruteclrp commented 1 year ago
  1. I know I have issues, and I know what they are related to.
  2. I have to calculated sensors which tries to calculate before the elements are fully started. Need to somehow specify a delayed start of these which sits in my configuration.yaml
  3. one issue related to a failing automation. That one I have now deleted and the error disappeared.

To the subject at hand. I have now isolated the issue to be triggered by a specific Apexchart card which looks like this:

type: custom:apexcharts-card experimental: color_threshold: true graph_span: 1d hours_12: false yaxis:

The interesting aspect is that the model for getting the data for raw_today works fine in another similar card:

data_generator: | return entity.attributes.raw_today.map((hour, index) => { return [new Date(hour["hour"]).getTime(), entity.attributes.raw_today[index]["price"]]; });

MTrab commented 1 year ago

So this is an ApexChart bug then? Your posts are very confusing, as there are errors shown, not relating to this integration and now you are talking about Apex?!

So the issue are what exactly??

ruteclrp commented 1 year ago

Let me try to summarise:

  1. I do have some errors in my HA which are unrelated to this issue
  2. The disappearance of the raw_tomorrow data has now been isolated to the execution of the data_generator function of my Apexchart card
  3. As the issue is entirely local to my installation it is not really an issue for your nice integration, I suggest you just delete this issue all together here
  4. I will pursue other tracks to find the solution to the data_generator issue of my Apexchart Card
  5. Thank you for your patience

Best Robert