ha-hildebrandglow-dcc icon indicating copy to clipboard operation
ha-hildebrandglow-dcc copied to clipboard

No or Incomplete Data showing in Home Assistant

Open Bookermind opened this issue 11 months ago • 8 comments

Describe the bug No or incomplete data showing in Home Assistant for Gas or Electric meters

To Reproduce Install the integration, wait the advised two hours. Observe that daily usage does not update over a period of multiple hours (is currently rough 10% of that shown in the Bright app for today)

Expected behaviour Updating energy usage information

Version using version 1.0.3 with HA 10.4 Supervisor 2023.08.1

Debug log 2023-08-13 20:32:52.148 DEBUG (MainThread) [custom_components.hildebrandglow_dcc] Successful Post to https://api.glowmarkt.com/api/v0-1/auth warnings.warn( 2023-08-13 20:32:52.565 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.11/site-packages/aioWiserHeatAPI/helpers/extra_config.py:21: RuntimeWarning: coroutine '_make_delegate_method.<locals>.method' was never awaited config_file.close() 2023-08-13 20:32:52.792 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/virtualentity 2023-08-13 20:32:52.924 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/virtualentity/7b4ad3b1-23b5-4bab-90d9-df9083055e54/resources 2023-08-13 20:32:52.974 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/4757e6ec-e28d-4981-8f1d-7aa378784bec/tariff 2023-08-13 20:32:52.974 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.048 seconds (success: True) 2023-08-13 20:32:53.074 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/c3348e8f-13c7-4e5a-a7ff-4ff08d741b67/tariff 2023-08-13 20:32:53.074 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Finished fetching tariff data in 0.143 seconds (success: True) 2023-08-13 20:32:53.089 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/4757e6ec-e28d-4981-8f1d-7aa378784bec/catchup 2023-08-13 20:32:53.097 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/5761fe9f-b683-486c-9f4e-f3f7b4a4fd33/catchup 2023-08-13 20:32:53.152 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/8cf726de-1691-4de4-ba97-35d6b4aa27b4/catchup 2023-08-13 20:32:53.165 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successful GET to https://api.glowmarkt.com/api/v0-1/resource/c3348e8f-13c7-4e5a-a7ff-4ff08d741b67/catchup 2023-08-13 20:32:53.242 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id 4757e6ec-e28d-4981-8f1d-7aa378784bec 2023-08-13 20:32:53.300 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id c3348e8f-13c7-4e5a-a7ff-4ff08d741b67 2023-08-13 20:32:53.351 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id 8cf726de-1691-4de4-ba97-35d6b4aa27b4 2023-08-13 20:32:53.351 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.dcc_sourced_smart_electricity_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author. 2023-08-13 20:32:54.091 DEBUG (MainThread) [custom_components.hildebrandglow_dcc.sensor] Successfully got daily usage for resource id 5761fe9f-b683-486c-9f4e-f3f7b4a4fd33 2023-08-13 20:32:54.092 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.dcc_sourced_smart_gas_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Bookermind avatar Aug 13 '23 19:08 Bookermind