core: Tibber integration error - Could not find currency
The problem
Tibber integration stopped providing current electricity price. Other entities are still working, but looks like those are also suffering some issues.


What version of Home Assistant Core has the issue?
2022.10.5
What was the last working version of Home Assistant Core?
2022.10.4 (although I’m not sure if it broken together with HA update)
What type of installation are you running?
Home Assistant OS
Integration causing the issue
tibber
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tibber/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:353
Integration: Sensor (documentation, issues)
First occurred: 16:08:33 (1 occurrences)
Last logged: 16:08:33
The unit of sensor.monthly_cost_artillerigatan () can not be converted to the unit of previously compiled statistics (SEK). Generation of long term statistics will be suppressed unless the unit changes back to SEK or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
Logger: tibber.tibber_home
Source: components/tibber/sensor.py:417
First occurred: 16:04:51 (3 occurrences)
Last logged: 16:42:55
Could not find currency.
Logger: homeassistant.components.sensor
Source: components/tibber/sensor.py:373
Integration: Sensor (documentation, issues)
First occurred: 16:04:53 (3 occurrences)
Last logged: 16:42:56
tibber: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 703, in async_device_update
await task
File "/usr/src/homeassistant/homeassistant/components/tibber/sensor.py", line 373, in async_update
res = self._tibber_home.current_price_data()
File "/usr/local/lib/python3.10/site-packages/tibber/tibber_home.py", line 368, in current_price_data
return round(self.price_total[key], 3), self.price_level[key], price_time
KeyError: '2022-10-21T14:00:00.000+02:00'
### Additional information
Download diagnostics on device's screen returns this:
{ “home_assistant”: { “installation_type”: “Home Assistant OS”, “version”: “2022.10.5”, “dev”: false, “hassio”: true, “virtualenv”: false, “python_version”: “3.10.5”, “docker”: true, “arch”: “aarch64”, “timezone”: “Europe/Stockholm”, “os_name”: “Linux”, “os_version”: “5.15.61-v8”, “supervisor”: “2022.10.0”, “host_os”: “Home Assistant OS 9.2”, “docker_version”: “20.10.17”, “chassis”: “embedded”, “run_as_root”: true }, “custom_components”: { “sonoff”: { “version”: “3.3.1”, “requirements”: [ “pycryptodome>=3.6.6” ] }, “hass_agent_notifier”: { “version”: “2022.3.15”, “requirements”: [] }, “volkswagencarnet”: { “version”: “v4.4.58”, “requirements”: [ “pytz”, “volkswagencarnet==4.4.53” ] }, “hacs”: { “version”: “1.28.2”, “requirements”: [ “aiogithubapi>=22.2.4” ] }, “alexa_media”: { “version”: “4.1.2”, “requirements”: [ “alexapy==1.26.3”, “packaging>=20.3”, “wrapt>=1.12.1” ] }, “hass_agent_mediaplayer”: { “version”: “2022.5.6”, “requirements”: [] }, “eufy_security”: { “version”: “2.8.0”, “requirements”: [ “websocket-client==1.1.0” ] }, “watchman”: { “version”: “0.5.1”, “requirements”: [ “prettytable==3.0.0” ] }, “webrtc”: { “version”: “v2.3.1”, “requirements”: [] }, “asusrouter”: { “version”: “0.9.3”, “requirements”: [ “asusrouter==0.9.4” ] } }, “integration_manifest”: { “dependencies”: [ “recorder” ], “domain”: “tibber”, “name”: “Tibber”, “documentation”: “https://www.home-assistant.io/integrations/tibber”, “requirements”: [ “pyTibber==0.25.2” ], “codeowners”: [ “@danielhiversen” ], “quality_scale”: “silver”, “config_flow”: true, “iot_class”: “cloud_polling”, “loggers”: [ “tibber” ], “is_built_in”: true }, “data”: { “homes”: { “XXXXX (I’ve removed this uuid) XXXXX”: { “last_data_timestamp”: null, “has_active_subscription”: true, “has_real_time_consumption”: false, “last_cons_data_timestamp”: “2022-10-21T01:00:00+02:00”, “country”: “SE” }, “XXXXX (I’ve removed this uuid) XXXXX”: { “last_data_timestamp”: null, “has_active_subscription”: false, “has_real_time_consumption”: false, “last_cons_data_timestamp”: null, “country”: “SE” } } } }
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20
I’m closing this as the issue related to the original thread (Could not find currency) has gone. Please create a new issue if you have some other issue. 😉