bosch-thermostat / home-assistant-bosch-custom-component

HA custom component for Bosch thermostats
Apache License 2.0
223 stars 45 forks source link

energy sensors broken for MB LANi #294

Closed hardysim closed 9 months ago

hardysim commented 1 year ago

Describe the bug I'm using a MB LANi with the IVT device type and HTTP (IVT_MBLAN did not work at all). I can see many sensors with plausible data but the energy sensors to be used with the energy dashboard are not working correctly.

From the sensors available to the energy dashboard, It looks like sensor.ractualdhwpower always zero, sensor.ractualchpower is updated once a day (or less?) and sensor.ractualpower is the combination if the two.

image

There's also sensor.actual_power (updated every five minutes or so) and sensor.energy_consumption (updated once a day?) but I cannot use those for the energy dashboard.

image

image

In the bosch apps (tested HomeCom and EasyRemote) I mostly get the same values for non-energy sensors (e.g. temperatures etc.) but the energy / gas consumption is way off the ones I get in home assistant.

image image

It would be really nice to have the "real" gas / power consumption like the apps or the RC310 display (and the actual gas meter).

Version

Debug Scan: http://jsonblob.com/1101398977722728448 http://jsonblob.com/1128690417418911744

pszafer commented 1 year ago

Can you reupload your scan?

hardysim commented 1 year ago

New scan available at http://jsonblob.com/1128690417418911744.

pszafer commented 1 year ago

Please check v0.23.1 and let me know if it works for you

hardysim commented 1 year ago

I've updated to 0.23.1 and enabled the new "Use new statistic API"

image

but cannot see the new sensors on the energy dashboard (no sensors with : instead of .).

image

I get the following devices and think, that "Recording sensors" is the one to look for, right? image

But there are only the following (old?) ones: image

pszafer commented 1 year ago

Can you enable debug logs and paste logs from HH:06 (recording sensors update only once an hour 6 minutes past hour)

hardysim commented 1 year ago

Here's the log. I hope it helps.

2023-07-19 15:05:58.899 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:06:00.000 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140669391187408
2023-07-19 15:06:00.213 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140669391187408
2023-07-19 15:06:00.485 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140669391187408
2023-07-19 15:06:00.766 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140669391187408
2023-07-19 15:06:01.037 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140669391187408
2023-07-19 15:06:01.314 DEBUG (MainThread) [custom_components.bosch] Next update of 1-hour sensors scheduled at: 2023-07-19 16:06:00+02:00
2023-07-19 15:06:01.314 DEBUG (MainThread) [custom_components.bosch] Bosch 1-hour entitites updated.
2023-07-19 15:06:01.318 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor Recordingroutdoor_t1337304066 called.
2023-07-19 15:06:01.319 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:routdoor_t1external.
2023-07-19 15:06:01.319 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualPower337304066 called.
2023-07-19 15:06:01.320 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualpowerexternal.
2023-07-19 15:06:01.320 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualCHPower337304066 called.
2023-07-19 15:06:01.320 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualchpowerexternal.
2023-07-19 15:06:01.320 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualDHWPower337304066 called.
2023-07-19 15:06:01.321 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualdhwpowerexternal.
2023-07-19 15:06:01.321 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualTemp337304066 called.
2023-07-19 15:06:01.321 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualtempexternal.
2023-07-19 15:06:01.363 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Last stats not exist. Trying to fetch last 30 days of data.
2023-07-19 15:06:01.363 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Attempt to fetch range 2023-06-19 00:00:00+02:00 - 2023-07-19 15:06:01.320734+02:00 for recording:ractualchpowerexternal
2023-07-19 15:06:01.387 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:ractualpowerexternal found {'start': 1689739200.0, 'end': 1689742800.0, 'state': 2.0, 'sum': 95.0}
2023-07-19 15:06:01.387 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 7, 19, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 2.0}, {'d': datetime.datetime(2023, 7, 19, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}]
2023-07-19 15:06:01.388 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualpowerexternal. Date: 2023-07-19 06:00:00+02:00, state: 2.0, sum: 97.0.
2023-07-19 15:06:01.388 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:routdoor_t1external found {'start': 1689764400.0, 'end': 1689768000.0, 'state': 24.6, 'sum': 15689.200000000006}
2023-07-19 15:06:01.389 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 7, 19, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 18.1}, {'d': datetime.datetime(2023, 7, 19, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.7}, {'d': datetime.datetime(2023, 7, 19, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 16.5}, {'d': datetime.datetime(2023, 7, 19, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 15.7}, {'d': datetime.datetime(2023, 7, 19, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 14.9}, {'d': datetime.datetime(2023, 7, 19, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 13.9}, {'d': datetime.datetime(2023, 7, 19, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 13.1}, {'d': datetime.datetime(2023, 7, 19, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 14.5}, {'d': datetime.datetime(2023, 7, 19, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 16.2}, {'d': datetime.datetime(2023, 7, 19, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 19.4}, {'d': datetime.datetime(2023, 7, 19, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 22.6}, {'d': datetime.datetime(2023, 7, 19, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 23.8}, {'d': datetime.datetime(2023, 7, 19, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 24.3}, {'d': datetime.datetime(2023, 7, 19, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 24.6}, {'d': datetime.datetime(2023, 7, 19, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 24.6}]
2023-07-19 15:06:01.389 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 00:00:00+02:00, state: 18.1, sum: 15707.300000000007.
2023-07-19 15:06:01.389 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 01:00:00+02:00, state: 17.7, sum: 15725.000000000007.
2023-07-19 15:06:01.390 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 02:00:00+02:00, state: 16.5, sum: 15741.500000000007.
2023-07-19 15:06:01.390 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 03:00:00+02:00, state: 15.7, sum: 15757.200000000008.
2023-07-19 15:06:01.390 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 04:00:00+02:00, state: 14.9, sum: 15772.100000000008.
2023-07-19 15:06:01.390 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 05:00:00+02:00, state: 13.9, sum: 15786.000000000007.
2023-07-19 15:06:01.390 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 06:00:00+02:00, state: 13.1, sum: 15799.100000000008.
2023-07-19 15:06:01.391 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 07:00:00+02:00, state: 14.5, sum: 15813.600000000008.
2023-07-19 15:06:01.391 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 08:00:00+02:00, state: 16.2, sum: 15829.800000000008.
2023-07-19 15:06:01.391 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 09:00:00+02:00, state: 19.4, sum: 15849.200000000008.
2023-07-19 15:06:01.391 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 10:00:00+02:00, state: 22.6, sum: 15871.800000000008.
2023-07-19 15:06:01.391 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 11:00:00+02:00, state: 23.8, sum: 15895.600000000008.
2023-07-19 15:06:01.391 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 12:00:00+02:00, state: 24.3, sum: 15919.900000000007.
2023-07-19 15:06:01.392 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 13:00:00+02:00, state: 24.6, sum: 15944.500000000007.
2023-07-19 15:06:01.392 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-07-19 14:00:00+02:00, state: 24.6, sum: 15969.100000000008.
2023-07-19 15:06:01.405 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:ractualdhwpowerexternal found {'start': 1689739200.0, 'end': 1689742800.0, 'state': 2.0, 'sum': 95.0}
2023-07-19 15:06:01.405 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 7, 19, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 2.0}, {'d': datetime.datetime(2023, 7, 19, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 7, 19, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}]
2023-07-19 15:06:01.406 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualdhwpowerexternal. Date: 2023-07-19 06:00:00+02:00, state: 2.0, sum: 97.0.
2023-07-19 15:06:01.407 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:ractualtempexternal found {'start': 1689764400.0, 'end': 1689768000.0, 'state': 59.2, 'sum': 42848.59999999999}
2023-07-19 15:06:01.407 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 7, 19, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 55.0}, {'d': datetime.datetime(2023, 7, 19, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 54.8}, {'d': datetime.datetime(2023, 7, 19, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 54.0}, {'d': datetime.datetime(2023, 7, 19, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 53.6}, {'d': datetime.datetime(2023, 7, 19, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 53.0}, {'d': datetime.datetime(2023, 7, 19, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 56.6}, {'d': datetime.datetime(2023, 7, 19, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 61.1}, {'d': datetime.datetime(2023, 7, 19, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 61.0}, {'d': datetime.datetime(2023, 7, 19, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 61.0}, {'d': datetime.datetime(2023, 7, 19, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 61.0}, {'d': datetime.datetime(2023, 7, 19, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 60.1}, {'d': datetime.datetime(2023, 7, 19, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 60.0}, {'d': datetime.datetime(2023, 7, 19, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 60.0}, {'d': datetime.datetime(2023, 7, 19, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 59.2}, {'d': datetime.datetime(2023, 7, 19, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 59.0}]
2023-07-19 15:06:01.407 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 00:00:00+02:00, state: 55.0, sum: 42903.59999999999.
2023-07-19 15:06:01.407 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 01:00:00+02:00, state: 54.8, sum: 42958.399999999994.
2023-07-19 15:06:01.408 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 02:00:00+02:00, state: 54.0, sum: 43012.399999999994.
2023-07-19 15:06:01.408 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 03:00:00+02:00, state: 53.6, sum: 43065.99999999999.
2023-07-19 15:06:01.408 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 04:00:00+02:00, state: 53.0, sum: 43118.99999999999.
2023-07-19 15:06:01.408 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 05:00:00+02:00, state: 56.6, sum: 43175.59999999999.
2023-07-19 15:06:01.409 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 06:00:00+02:00, state: 61.1, sum: 43236.69999999999.
2023-07-19 15:06:01.409 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 07:00:00+02:00, state: 61.0, sum: 43297.69999999999.
2023-07-19 15:06:01.409 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 08:00:00+02:00, state: 61.0, sum: 43358.69999999999.
2023-07-19 15:06:01.409 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 09:00:00+02:00, state: 61.0, sum: 43419.69999999999.
2023-07-19 15:06:01.410 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 10:00:00+02:00, state: 60.1, sum: 43479.79999999999.
2023-07-19 15:06:01.411 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 11:00:00+02:00, state: 60.0, sum: 43539.79999999999.
2023-07-19 15:06:01.411 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 12:00:00+02:00, state: 60.0, sum: 43599.79999999999.
2023-07-19 15:06:01.411 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 13:00:00+02:00, state: 59.2, sum: 43658.999999999985.
2023-07-19 15:06:01.412 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-07-19 14:00:00+02:00, state: 59.0, sum: 43717.999999999985.
2023-07-19 15:06:02.676 DEBUG (MainThread) [custom_components.bosch] Bosch climate entitites updated.
2023-07-19 15:06:02.677 DEBUG (MainThread) [custom_components.bosch] Updating component water_heater water_heater.dhw1 by 140669391187408
2023-07-19 15:06:02.682 DEBUG (MainThread) [custom_components.bosch.climate] Update of climate hc1 component called.
2023-07-19 15:06:07.178 DEBUG (MainThread) [custom_components.bosch] Bosch water_heater entitites updated.
2023-07-19 15:06:07.179 DEBUG (MainThread) [custom_components.bosch] Finish updating entities. Waiting for next scheduled check.
2023-07-19 15:06:07.184 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2023-07-19 15:06:08.646 WARNING (MainThread) [custom_components.bosch.sensor.recording] Stats not found.
2023-07-19 15:06:24.748 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:06:24.749 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:06:24.750 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:06:24.750 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:06:24.751 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:06:24.752 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:06:24.752 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:06:24.753 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:06:24.754 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:06:24.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:06:24.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:06:24.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:06:24.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:06:24.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:06:24.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:06:24.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:06:24.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:06:24.760 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:06:24.760 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Water flow337304066 called.
2023-07-19 15:06:24.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Working time337304066 called.
2023-07-19 15:06:24.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1supplyTemperatureSetpoint337304066 called.
2023-07-19 15:06:24.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Threshold337304066 called.
2023-07-19 15:06:24.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Pump Modulation337304066 called.
2023-07-19 15:06:24.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Switchmode337304066 called.
2023-07-19 15:06:24.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current Summer Winter Mode337304066 called.
2023-07-19 15:06:24.764 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Actual supply temperature for HC337304066 called.
2023-07-19 15:06:24.765 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current room setpoint337304066 called.
2023-07-19 15:06:24.766 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 592, in state
    numerical_value = float(value)  # type:ignore[arg-type]
                      ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 713, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 810, in _async_write_ha_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 594, in state
    raise ValueError(
ValueError: Sensor sensor.pool_temperature has device class 'temperature', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2023-07-19 15:06:24.859 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:06:24.859 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:06:54.748 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:06:54.749 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:06:54.750 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:06:54.751 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:06:54.751 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:06:54.752 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:06:54.752 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:06:54.752 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:06:54.753 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:06:54.753 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:06:54.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:06:54.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:06:54.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:06:54.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:06:54.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:06:54.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:06:54.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:06:54.760 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:06:54.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Water flow337304066 called.
2023-07-19 15:06:54.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Working time337304066 called.
2023-07-19 15:06:54.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1supplyTemperatureSetpoint337304066 called.
2023-07-19 15:06:54.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Threshold337304066 called.
2023-07-19 15:06:54.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Pump Modulation337304066 called.
2023-07-19 15:06:54.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Switchmode337304066 called.
2023-07-19 15:06:54.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current Summer Winter Mode337304066 called.
2023-07-19 15:06:54.764 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Actual supply temperature for HC337304066 called.
2023-07-19 15:06:54.764 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current room setpoint337304066 called.
2023-07-19 15:06:54.765 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 592, in state
    numerical_value = float(value)  # type:ignore[arg-type]
                      ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 713, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 810, in _async_write_ha_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 594, in state
    raise ValueError(
ValueError: Sensor sensor.pool_temperature has device class 'temperature', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2023-07-19 15:06:54.851 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites.
2023-07-19 15:06:54.851 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.outdoor_temperature by 140669391187408
2023-07-19 15:06:54.853 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2023-07-19 15:06:54.860 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:06:54.860 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:06:54.869 DEBUG (MainThread) [custom_components.bosch.climate] Update of climate hc1 component called.
2023-07-19 15:06:54.986 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hotwater_temp by 140669391187408
2023-07-19 15:06:55.124 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.supply_temp_setpoint by 140669391187408
2023-07-19 15:06:55.266 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_supply_temp by 140669391187408
2023-07-19 15:06:55.409 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.health_status by 140669391187408
2023-07-19 15:06:55.626 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.return_temp by 140669391187408
2023-07-19 15:06:55.806 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_power by 140669391187408
2023-07-19 15:06:55.945 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_supply_temperature by 140669391187408
2023-07-19 15:06:56.084 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_modulation by 140669391187408
2023-07-19 15:06:56.225 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_heating_pump_modulation by 140669391187408
2023-07-19 15:06:56.364 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.total_system_uptime by 140669391187408
2023-07-19 15:06:56.504 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.energy_consumption by 140669391187408
2023-07-19 15:06:56.648 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.start_time by 140669391187408
2023-07-19 15:06:56.834 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.system_pressure by 140669391187408
2023-07-19 15:06:56.974 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.burner_power_setpoint by 140669391187408
2023-07-19 15:06:57.114 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.numberofstarts by 140669391187408
2023-07-19 15:06:57.254 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.notifications by 140669391187408
2023-07-19 15:06:57.395 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.pool_temperature by 140669391187408
2023-07-19 15:06:57.452 WARNING (MainThread) [bosch_thermostat_client.sensors.sensor] Can't update data for Pool temperature. Trying uri: /heatSources/poolTemperature. Error message: URI /heatSources/poolTemperature doesn not exist: 404, message='Not Found', url=URL('http://192.168.4.181/heatSources/poolTemperature')
2023-07-19 15:06:57.454 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.dhw1_water_flow by 140669391187408
2023-07-19 15:06:57.615 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.dhw1_working_time by 140669391187408
2023-07-19 15:06:57.754 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_supplytemperaturesetpoint by 140669391187408
2023-07-19 15:06:57.895 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_summer_winter_threshold by 140669391187408
2023-07-19 15:06:58.035 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_pump_modulation by 140669391187408
2023-07-19 15:06:58.174 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_summer_winter_switchmode by 140669391187408
2023-07-19 15:06:58.314 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_current_summer_winter_mode by 140669391187408
2023-07-19 15:06:58.454 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_actual_supply_temperature_for_hc by 140669391187408
2023-07-19 15:06:58.512 WARNING (MainThread) [bosch_thermostat_client.sensors.sensor] Can't update data for Actual supply temperature for HC. Trying uri: /heatingCircuits/hc1/actualSupplyTemperature. Error message: URI /heatingCircuits/hc1/actualSupplyTemperature doesn not exist: 404, message='Not Found', url=URL('http://192.168.4.181/heatingCircuits/hc1/actualSupplyTemperature')
2023-07-19 15:06:58.523 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_current_room_setpoint by 140669391187408
2023-07-19 15:06:58.674 DEBUG (MainThread) [custom_components.bosch] Bosch sensor entitites updated.
2023-07-19 15:06:58.675 DEBUG (MainThread) [custom_components.bosch] Updating component binary_sensor binary_sensor.flamestatus by 140669391187408
2023-07-19 15:06:58.679 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:06:58.680 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:06:58.680 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:06:58.680 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:06:58.681 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:06:58.681 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:06:58.681 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:06:58.681 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:06:58.681 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:06:58.681 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:06:58.682 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:06:58.683 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:06:58.684 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:06:58.684 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:06:58.684 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:06:58.684 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:06:58.685 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:06:58.687 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:06:58.814 DEBUG (MainThread) [custom_components.bosch] Updating component binary_sensor binary_sensor.chimneysweeper by 140669391187408
2023-07-19 15:06:58.955 DEBUG (MainThread) [custom_components.bosch] Bosch binary_sensor entitites updated.
2023-07-19 15:06:58.955 DEBUG (MainThread) [custom_components.bosch] Updating component climate climate.hc1 by 140669391187408
2023-07-19 15:06:58.958 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:06:58.958 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:07:01.366 DEBUG (MainThread) [custom_components.bosch] Bosch climate entitites updated.
2023-07-19 15:07:01.366 DEBUG (MainThread) [custom_components.bosch] Updating component water_heater water_heater.dhw1 by 140669391187408
2023-07-19 15:07:01.371 DEBUG (MainThread) [custom_components.bosch.climate] Update of climate hc1 component called.
2023-07-19 15:07:03.366 DEBUG (MainThread) [custom_components.bosch] Bosch water_heater entitites updated.
2023-07-19 15:07:03.367 DEBUG (MainThread) [custom_components.bosch] Finish updating entities. Waiting for next scheduled check.
2023-07-19 15:07:03.377 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2023-07-19 15:07:24.749 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:07:24.750 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:07:24.751 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:07:24.751 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:07:24.752 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:07:24.753 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:07:24.753 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:07:24.754 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:07:24.760 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:07:24.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:07:24.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:07:24.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:07:24.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:07:24.764 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:07:24.765 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:07:24.767 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:07:24.767 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:07:24.768 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:07:24.768 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Water flow337304066 called.
2023-07-19 15:07:24.769 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Working time337304066 called.
2023-07-19 15:07:24.770 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1supplyTemperatureSetpoint337304066 called.
2023-07-19 15:07:24.770 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Threshold337304066 called.
2023-07-19 15:07:24.771 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Pump Modulation337304066 called.
2023-07-19 15:07:24.772 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Switchmode337304066 called.
2023-07-19 15:07:24.773 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current Summer Winter Mode337304066 called.
2023-07-19 15:07:24.773 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Actual supply temperature for HC337304066 called.
2023-07-19 15:07:24.774 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current room setpoint337304066 called.
2023-07-19 15:07:24.780 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 592, in state
    numerical_value = float(value)  # type:ignore[arg-type]
                      ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 713, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 810, in _async_write_ha_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 594, in state
    raise ValueError(
ValueError: Sensor sensor.pool_temperature has device class 'temperature', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2023-07-19 15:07:24.861 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:07:24.862 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:07:54.754 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:07:54.755 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:07:54.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:07:54.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:07:54.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:07:54.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:07:54.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:07:54.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:07:54.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:07:54.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:07:54.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:07:54.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:07:54.764 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:07:54.765 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:07:54.765 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:07:54.766 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:07:54.766 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:07:54.767 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:07:54.768 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Water flow337304066 called.
2023-07-19 15:07:54.769 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Working time337304066 called.
2023-07-19 15:07:54.770 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1supplyTemperatureSetpoint337304066 called.
2023-07-19 15:07:54.771 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Threshold337304066 called.
2023-07-19 15:07:54.771 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Pump Modulation337304066 called.
2023-07-19 15:07:54.772 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Switchmode337304066 called.
2023-07-19 15:07:54.773 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current Summer Winter Mode337304066 called.
2023-07-19 15:07:54.775 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Actual supply temperature for HC337304066 called.
2023-07-19 15:07:54.779 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current room setpoint337304066 called.
2023-07-19 15:07:54.791 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 592, in state
    numerical_value = float(value)  # type:ignore[arg-type]
                      ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 713, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 810, in _async_write_ha_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 594, in state
    raise ValueError(
ValueError: Sensor sensor.pool_temperature has device class 'temperature', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2023-07-19 15:07:54.852 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites.
2023-07-19 15:07:54.852 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.outdoor_temperature by 140669391187408
2023-07-19 15:07:54.854 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2023-07-19 15:07:54.862 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:07:54.863 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:07:54.872 DEBUG (MainThread) [custom_components.bosch.climate] Update of climate hc1 component called.
2023-07-19 15:07:54.994 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hotwater_temp by 140669391187408
2023-07-19 15:07:55.134 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.supply_temp_setpoint by 140669391187408
2023-07-19 15:07:55.277 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_supply_temp by 140669391187408
2023-07-19 15:07:55.426 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.health_status by 140669391187408
2023-07-19 15:07:55.563 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.return_temp by 140669391187408
2023-07-19 15:07:55.704 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_power by 140669391187408
2023-07-19 15:07:55.847 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_supply_temperature by 140669391187408
2023-07-19 15:07:55.985 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_modulation by 140669391187408
2023-07-19 15:07:56.124 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_heating_pump_modulation by 140669391187408
2023-07-19 15:07:56.264 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.total_system_uptime by 140669391187408
2023-07-19 15:07:56.403 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.energy_consumption by 140669391187408
2023-07-19 15:07:56.543 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.start_time by 140669391187408
2023-07-19 15:07:56.683 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.system_pressure by 140669391187408
2023-07-19 15:07:56.823 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.burner_power_setpoint by 140669391187408
2023-07-19 15:07:56.963 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.numberofstarts by 140669391187408
2023-07-19 15:07:57.103 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.notifications by 140669391187408
2023-07-19 15:07:57.244 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.pool_temperature by 140669391187408
2023-07-19 15:07:57.303 WARNING (MainThread) [bosch_thermostat_client.sensors.sensor] Can't update data for Pool temperature. Trying uri: /heatSources/poolTemperature. Error message: URI /heatSources/poolTemperature doesn not exist: 404, message='Not Found', url=URL('http://192.168.4.181/heatSources/poolTemperature')
2023-07-19 15:07:57.307 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.dhw1_water_flow by 140669391187408
2023-07-19 15:07:57.462 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.dhw1_working_time by 140669391187408
2023-07-19 15:07:57.604 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_supplytemperaturesetpoint by 140669391187408
2023-07-19 15:07:57.744 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_summer_winter_threshold by 140669391187408
2023-07-19 15:07:57.883 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_pump_modulation by 140669391187408
2023-07-19 15:07:58.023 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_summer_winter_switchmode by 140669391187408
2023-07-19 15:07:58.163 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_current_summer_winter_mode by 140669391187408
2023-07-19 15:07:58.303 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_actual_supply_temperature_for_hc by 140669391187408
2023-07-19 15:07:58.360 WARNING (MainThread) [bosch_thermostat_client.sensors.sensor] Can't update data for Actual supply temperature for HC. Trying uri: /heatingCircuits/hc1/actualSupplyTemperature. Error message: URI /heatingCircuits/hc1/actualSupplyTemperature doesn not exist: 404, message='Not Found', url=URL('http://192.168.4.181/heatingCircuits/hc1/actualSupplyTemperature')
2023-07-19 15:07:58.363 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_current_room_setpoint by 140669391187408
2023-07-19 15:07:58.523 DEBUG (MainThread) [custom_components.bosch] Bosch sensor entitites updated.
2023-07-19 15:07:58.524 DEBUG (MainThread) [custom_components.bosch] Updating component binary_sensor binary_sensor.flamestatus by 140669391187408
2023-07-19 15:07:58.526 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:07:58.527 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:07:58.527 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:07:58.527 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:07:58.527 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:07:58.528 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:07:58.528 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:07:58.528 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:07:58.529 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:07:58.529 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:07:58.529 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:07:58.530 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:07:58.530 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:07:58.530 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:07:58.530 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:07:58.530 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:07:58.531 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:07:58.531 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:07:58.664 DEBUG (MainThread) [custom_components.bosch] Updating component binary_sensor binary_sensor.chimneysweeper by 140669391187408
2023-07-19 15:07:58.802 DEBUG (MainThread) [custom_components.bosch] Bosch binary_sensor entitites updated.
2023-07-19 15:07:58.803 DEBUG (MainThread) [custom_components.bosch] Updating component climate climate.hc1 by 140669391187408
2023-07-19 15:07:58.804 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:07:58.805 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:08:01.183 DEBUG (MainThread) [custom_components.bosch] Bosch climate entitites updated.
2023-07-19 15:08:01.184 DEBUG (MainThread) [custom_components.bosch] Updating component water_heater water_heater.dhw1 by 140669391187408
2023-07-19 15:08:01.185 DEBUG (MainThread) [custom_components.bosch.climate] Update of climate hc1 component called.
2023-07-19 15:08:03.226 DEBUG (MainThread) [custom_components.bosch] Bosch water_heater entitites updated.
2023-07-19 15:08:03.227 DEBUG (MainThread) [custom_components.bosch] Finish updating entities. Waiting for next scheduled check.
2023-07-19 15:08:03.232 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2023-07-19 15:08:24.752 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:08:24.753 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:08:24.754 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:08:24.755 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:08:24.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:08:24.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:08:24.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:08:24.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:08:24.760 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:08:24.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:08:24.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:08:24.762 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:08:24.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:08:24.764 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:08:24.765 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:08:24.766 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:08:24.766 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:08:24.767 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:08:24.768 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Water flow337304066 called.
2023-07-19 15:08:24.768 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Working time337304066 called.
2023-07-19 15:08:24.770 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1supplyTemperatureSetpoint337304066 called.
2023-07-19 15:08:24.778 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Threshold337304066 called.
2023-07-19 15:08:24.778 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Pump Modulation337304066 called.
2023-07-19 15:08:24.779 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Switchmode337304066 called.
2023-07-19 15:08:24.792 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current Summer Winter Mode337304066 called.
2023-07-19 15:08:24.793 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Actual supply temperature for HC337304066 called.
2023-07-19 15:08:24.793 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current room setpoint337304066 called.
2023-07-19 15:08:24.795 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 592, in state
    numerical_value = float(value)  # type:ignore[arg-type]
                      ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 713, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 810, in _async_write_ha_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 594, in state
    raise ValueError(
ValueError: Sensor sensor.pool_temperature has device class 'temperature', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2023-07-19 15:08:24.863 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:08:24.863 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:08:54.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:08:54.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:08:54.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:08:54.759 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:08:54.760 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:08:54.760 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:08:54.761 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:08:54.763 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:08:54.765 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:08:54.765 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:08:54.766 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:08:54.766 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:08:54.767 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:08:54.767 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:08:54.768 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:08:54.768 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:08:54.769 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:08:54.770 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:08:54.770 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Water flow337304066 called.
2023-07-19 15:08:54.771 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Working time337304066 called.
2023-07-19 15:08:54.771 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1supplyTemperatureSetpoint337304066 called.
2023-07-19 15:08:54.772 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Threshold337304066 called.
2023-07-19 15:08:54.772 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Pump Modulation337304066 called.
2023-07-19 15:08:54.773 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Switchmode337304066 called.
2023-07-19 15:08:54.773 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current Summer Winter Mode337304066 called.
2023-07-19 15:08:54.773 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Actual supply temperature for HC337304066 called.
2023-07-19 15:08:54.774 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current room setpoint337304066 called.
2023-07-19 15:08:54.775 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 592, in state
    numerical_value = float(value)  # type:ignore[arg-type]
                      ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 918, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 713, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 810, in _async_write_ha_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 594, in state
    raise ValueError(
ValueError: Sensor sensor.pool_temperature has device class 'temperature', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2023-07-19 15:08:54.853 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites.
2023-07-19 15:08:54.853 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.outdoor_temperature by 140669391187408
2023-07-19 15:08:54.856 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2023-07-19 15:08:54.879 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:08:54.879 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:08:54.881 DEBUG (MainThread) [custom_components.bosch.climate] Update of climate hc1 component called.
2023-07-19 15:08:55.074 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hotwater_temp by 140669391187408
2023-07-19 15:08:55.213 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.supply_temp_setpoint by 140669391187408
2023-07-19 15:08:55.353 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_supply_temp by 140669391187408
2023-07-19 15:08:55.493 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.health_status by 140669391187408
2023-07-19 15:08:55.633 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.return_temp by 140669391187408
2023-07-19 15:08:55.773 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_power by 140669391187408
2023-07-19 15:08:55.953 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_supply_temperature by 140669391187408
2023-07-19 15:08:56.163 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_modulation by 140669391187408
2023-07-19 15:08:56.301 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.actual_heating_pump_modulation by 140669391187408
2023-07-19 15:08:56.441 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.total_system_uptime by 140669391187408
2023-07-19 15:08:56.582 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.energy_consumption by 140669391187408
2023-07-19 15:08:56.722 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.start_time by 140669391187408
2023-07-19 15:08:56.864 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.system_pressure by 140669391187408
2023-07-19 15:08:57.051 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.burner_power_setpoint by 140669391187408
2023-07-19 15:08:57.193 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.numberofstarts by 140669391187408
2023-07-19 15:08:57.331 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.notifications by 140669391187408
2023-07-19 15:08:57.472 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.pool_temperature by 140669391187408
2023-07-19 15:08:57.529 WARNING (MainThread) [bosch_thermostat_client.sensors.sensor] Can't update data for Pool temperature. Trying uri: /heatSources/poolTemperature. Error message: URI /heatSources/poolTemperature doesn not exist: 404, message='Not Found', url=URL('http://192.168.4.181/heatSources/poolTemperature')
2023-07-19 15:08:57.532 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.dhw1_water_flow by 140669391187408
2023-07-19 15:08:57.692 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.dhw1_working_time by 140669391187408
2023-07-19 15:08:57.831 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_supplytemperaturesetpoint by 140669391187408
2023-07-19 15:08:57.974 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_summer_winter_threshold by 140669391187408
2023-07-19 15:08:58.111 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_pump_modulation by 140669391187408
2023-07-19 15:08:58.251 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_summer_winter_switchmode by 140669391187408
2023-07-19 15:08:58.391 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_current_summer_winter_mode by 140669391187408
2023-07-19 15:08:58.532 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_actual_supply_temperature_for_hc by 140669391187408
2023-07-19 15:08:58.589 WARNING (MainThread) [bosch_thermostat_client.sensors.sensor] Can't update data for Actual supply temperature for HC. Trying uri: /heatingCircuits/hc1/actualSupplyTemperature. Error message: URI /heatingCircuits/hc1/actualSupplyTemperature doesn not exist: 404, message='Not Found', url=URL('http://192.168.4.181/heatingCircuits/hc1/actualSupplyTemperature')
2023-07-19 15:08:58.592 DEBUG (MainThread) [custom_components.bosch] Updating component sensor sensor.hc1_current_room_setpoint by 140669391187408
2023-07-19 15:08:58.751 DEBUG (MainThread) [custom_components.bosch] Bosch sensor entitites updated.
2023-07-19 15:08:58.752 DEBUG (MainThread) [custom_components.bosch] Updating component binary_sensor binary_sensor.flamestatus by 140669391187408
2023-07-19 15:08:58.754 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-07-19 15:08:58.755 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-07-19 15:08:58.755 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-07-19 15:08:58.755 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-07-19 15:08:58.755 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-07-19 15:08:58.755 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-07-19 15:08:58.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-07-19 15:08:58.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-07-19 15:08:58.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-07-19 15:08:58.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-07-19 15:08:58.756 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-07-19 15:08:58.757 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-07-19 15:08:58.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-07-19 15:08:58.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-07-19 15:08:58.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-07-19 15:08:58.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-07-19 15:08:58.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-07-19 15:08:58.758 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-07-19 15:08:58.893 DEBUG (MainThread) [custom_components.bosch] Updating component binary_sensor binary_sensor.chimneysweeper by 140669391187408
2023-07-19 15:08:59.032 DEBUG (MainThread) [custom_components.bosch] Bosch binary_sensor entitites updated.
2023-07-19 15:08:59.033 DEBUG (MainThread) [custom_components.bosch] Updating component climate climate.hc1 by 140669391187408
2023-07-19 15:08:59.035 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-07-19 15:08:59.035 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-07-19 15:09:01.573 DEBUG (MainThread) [custom_components.bosch] Bosch climate entitites updated.
2023-07-19 15:09:01.574 DEBUG (MainThread) [custom_components.bosch] Updating component water_heater water_heater.dhw1 by 140669391187408
2023-07-19 15:09:01.576 DEBUG (MainThread) [custom_components.bosch.climate] Update of climate hc1 component called.
2023-07-19 15:09:03.774 DEBUG (MainThread) [custom_components.bosch] Bosch water_heater entitites updated.
2023-07-19 15:09:03.774 DEBUG (MainThread) [custom_components.bosch] Finish updating entities. Waiting for next scheduled check.
2023-07-19 15:09:03.785 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
pszafer commented 1 year ago

Can you update HA to the newest version? Are you able to check HA database select * from statistics_meta where source != 'recorder';

hardysim commented 1 year ago

I think I'm already using the latest version:

Home Assistant 2023.7.2 Supervisor 2023.07.1 Operating System 10.3 Frontend 20230705.1 - latest

How can I query the database? Do you have a short how to? Or is there a database plugin for HA or something like that?

pszafer commented 1 year ago

What database do you use? Sqlite?

hardysim commented 1 year ago

Not sure 🙃 It's the standard home assistant OS with everything untouched. I cannot find any info about the used database though 😔.

pszafer commented 1 year ago

so sqlite. Copy home-assistant_v2.db to your pc and use some sqlite explorer to query your database.

hardysim commented 1 year ago

Here we go

image

pszafer commented 1 year ago

Can you send me your database? pszafer(at)gmail.com

hardysim commented 1 year ago

The entire database or only some tables only used for this integration? I don't want to share anything else (maybe I can setup another home assistant instance but not right now).

pszafer commented 1 year ago

I'd need statistics, statistics_meta and statistic_short_term tables. You can omit events tables. There is no confidential data in sqlite database, events from last 7(or 14?) days (so turn on/off lights etc) and statistics. Another HA instance would be much easier for me to debug but it's up to you what you want to share.

hardysim commented 1 year ago

Those tables look quit shareable 🙃. Here you go.

2023-07-24_ha-bosch-tables.sql.gz

pszafer commented 1 year ago

I don't understand why it doesn't show for you... Maybe try clearing cache in your browser. As you can see in this file

INSERT INTO "statistics_meta" VALUES (51,'recording:routdoor_t1external','recording','°C',0,1,'routdoor_t1');
INSERT INTO "statistics_meta" VALUES (52,'recording:ractualdhwpowerexternal','recording','kWh',0,1,'ractualDHWPower');
INSERT INTO "statistics_meta" VALUES (53,'recording:ractualtempexternal','recording','°C',0,1,'ractualTemp');
INSERT INTO "statistics_meta" VALUES (54,'recording:ractualpowerexternal','recording','kWh',0,1,'ractualPower');

also values are visible

INSERT INTO "statistics" VALUES (66742,NULL,1690178761.21757,52,NULL,1690174800.0,NULL,NULL,NULL,NULL,NULL,2.0,234.0);
hardysim commented 1 year ago

Maybe it's related to the source value being recording instead of recorder like all other entries in the statistics_meta table?

image

pszafer commented 1 year ago

Please check out https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.23.3 I will reopen if problem'd still occur.

hardysim commented 1 year ago

It' a bit weird:

I can add the recording sensors with : to the energy dashboard but they will be replaced by their . counterpart. After that, I can add them again to have them both in the list? But when inspecting them, both use the . sensor.

image

image

Plus, I get an error box above the sensors when configuring the dashboard:

image

Also, the : so not show up when looking at the entities list, only the . ones.

image

I'll wait an hour or two and have another look. Maybe the sensors need to update before HA picks them up correctly?

pszafer commented 1 year ago

Things with : are not entities but statistics data. Those can be used and found only in Energy dashboard settings. About rest, it is weird and I can't reproduce. I've just checked and there is no problem choosing recording: statistic.

hardysim commented 1 year ago

Ah good to know the difference, thx.

But "choosing" a recording: statistic for the energy dashboard is exactly the problem. Or better, "saving" it. I can chose them but they are not saved. They are converted to the entity. variant.

https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/assets/3737512/96391739-fe4e-43a9-890a-c61166196906

pszafer commented 1 year ago

I pushed new version again. Now it will be easier to divide entity and stats data. Stats data begin with name "Stats". image

hardysim commented 1 year ago

Updated to 0.23.4 but the new stats are not showing up (and I still have the problem of auto-converting to the wrong one).

image

pszafer commented 1 year ago

@hardysim debug logs please.

zbikmarc commented 1 year ago

Seems to be working much better for me. I have data but it looks odd. It is hard to believe that I used 90kWh for domestic hot water yesterday ;)

obraz Maybe it is due to badly imported data - unfortunately I disabled debug logs yesterday :(

hardysim commented 1 year ago

Here's the log from HH:06 (I think that's the right part):

2023-09-05 16:05:57.818 DEBUG (MainThread) [custom_components.bosch.water_heater] Updating Bosch water_heater.
2023-09-05 16:06:00.002 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140583976878160
2023-09-05 16:06:00.133 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140583976878160
2023-09-05 16:06:00.271 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140583976878160
2023-09-05 16:06:00.403 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140583976878160
2023-09-05 16:06:00.533 DEBUG (MainThread) [custom_components.bosch] Updating component 1-hour Sensor by 140583976878160
2023-09-05 16:06:00.672 DEBUG (MainThread) [custom_components.bosch] Next update of 1-hour sensors scheduled at: 2023-09-05 17:06:00+02:00
2023-09-05 16:06:00.672 DEBUG (MainThread) [custom_components.bosch] Bosch 1-hour entitites updated.
2023-09-05 16:06:00.673 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor Recordingroutdoor_t1337304066 called.
2023-09-05 16:06:00.673 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:routdoor_t1external.
2023-09-05 16:06:00.674 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualPower337304066 called.
2023-09-05 16:06:00.674 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualpowerexternal.
2023-09-05 16:06:00.675 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualCHPower337304066 called.
2023-09-05 16:06:00.675 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualchpowerexternal.
2023-09-05 16:06:00.675 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualDHWPower337304066 called.
2023-09-05 16:06:00.676 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualdhwpowerexternal.
2023-09-05 16:06:00.676 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualTemp337304066 called.
2023-09-05 16:06:00.676 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:ractualtempexternal.
2023-09-05 16:06:00.734 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:ractualpowerexternal found {'start': 1693857600.0, 'end': 1693861200.0, 'state': 4.0, 'sum': 1301.0}
2023-09-05 16:06:00.734 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 9, 5, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 15, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}]
2023-09-05 16:06:00.735 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:routdoor_t1external found {'start': 1693868400.0, 'end': 1693872000.0, 'state': 17.0, 'sum': 229351.4}
2023-09-05 16:06:00.735 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 9, 5, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.7}, {'d': datetime.datetime(2023, 9, 5, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.0}, {'d': datetime.datetime(2023, 9, 5, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.0}, {'d': datetime.datetime(2023, 9, 5, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.8}, {'d': datetime.datetime(2023, 9, 5, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 18.0}, {'d': datetime.datetime(2023, 9, 5, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 18.0}, {'d': datetime.datetime(2023, 9, 5, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.6}, {'d': datetime.datetime(2023, 9, 5, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.0}, {'d': datetime.datetime(2023, 9, 5, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 17.8}, {'d': datetime.datetime(2023, 9, 5, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 18.7}, {'d': datetime.datetime(2023, 9, 5, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 20.4}, {'d': datetime.datetime(2023, 9, 5, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 21.9}, {'d': datetime.datetime(2023, 9, 5, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 23.6}, {'d': datetime.datetime(2023, 9, 5, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 25.4}, {'d': datetime.datetime(2023, 9, 5, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 27.4}, {'d': datetime.datetime(2023, 9, 5, 15, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 29.4}]
2023-09-05 16:06:00.736 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 00:00:00+02:00, state: 17.7, sum: 229369.1.
2023-09-05 16:06:00.736 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 01:00:00+02:00, state: 17.0, sum: 229386.1.
2023-09-05 16:06:00.737 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 02:00:00+02:00, state: 17.0, sum: 229403.1.
2023-09-05 16:06:00.737 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 03:00:00+02:00, state: 17.8, sum: 229420.9.
2023-09-05 16:06:00.737 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 04:00:00+02:00, state: 18.0, sum: 229438.9.
2023-09-05 16:06:00.737 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 05:00:00+02:00, state: 18.0, sum: 229456.9.
2023-09-05 16:06:00.737 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 06:00:00+02:00, state: 17.6, sum: 229474.5.
2023-09-05 16:06:00.738 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 07:00:00+02:00, state: 17.0, sum: 229491.5.
2023-09-05 16:06:00.738 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 08:00:00+02:00, state: 17.8, sum: 229509.3.
2023-09-05 16:06:00.738 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 09:00:00+02:00, state: 18.7, sum: 229528.0.
2023-09-05 16:06:00.738 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 10:00:00+02:00, state: 20.4, sum: 229548.4.
2023-09-05 16:06:00.738 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 11:00:00+02:00, state: 21.9, sum: 229570.3.
2023-09-05 16:06:00.748 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 12:00:00+02:00, state: 23.6, sum: 229593.9.
2023-09-05 16:06:00.749 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 13:00:00+02:00, state: 25.4, sum: 229619.3.
2023-09-05 16:06:00.749 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 14:00:00+02:00, state: 27.4, sum: 229646.69999999998.
2023-09-05 16:06:00.749 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:routdoor_t1external. Date: 2023-09-05 15:00:00+02:00, state: 29.4, sum: 229676.09999999998.
2023-09-05 16:06:00.752 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:ractualchpowerexternal found {'start': 1690362000.0, 'end': 1690365600.0, 'state': 1.0, 'sum': 12.0}
2023-09-05 16:06:00.752 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Last row of statistic recording:ractualchpowerexternal found 2023-07-26 09:00:00+00:00, missing 41 days, 5:06:00.675767 with current sum 12.0
2023-09-05 16:06:00.752 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Attempt to fetch range 2023-07-26 00:00:00+02:00 - 2023-09-05 16:06:00.675767+02:00 for recording:ractualchpowerexternal
2023-09-05 16:06:00.754 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:ractualdhwpowerexternal found {'start': 1693857600.0, 'end': 1693861200.0, 'state': 4.0, 'sum': 1289.0}
2023-09-05 16:06:00.755 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 9, 5, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}, {'d': datetime.datetime(2023, 9, 5, 15, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 0.0}]
2023-09-05 16:06:00.939 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:ractualtempexternal found {'start': 1693868400.0, 'end': 1693872000.0, 'state': 60.1, 'sum': 746731.200000005}
2023-09-05 16:06:00.940 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Returning state to put to statistic table [{'d': datetime.datetime(2023, 9, 5, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 61.0}, {'d': datetime.datetime(2023, 9, 5, 1, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 60.1}, {'d': datetime.datetime(2023, 9, 5, 2, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 60.0}, {'d': datetime.datetime(2023, 9, 5, 3, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 59.5}, {'d': datetime.datetime(2023, 9, 5, 4, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 59.0}, {'d': datetime.datetime(2023, 9, 5, 5, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 59.0}, {'d': datetime.datetime(2023, 9, 5, 6, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 58.0}, {'d': datetime.datetime(2023, 9, 5, 7, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 58.0}, {'d': datetime.datetime(2023, 9, 5, 8, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 57.6}, {'d': datetime.datetime(2023, 9, 5, 9, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 57.0}, {'d': datetime.datetime(2023, 9, 5, 10, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 57.0}, {'d': datetime.datetime(2023, 9, 5, 11, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 56.0}, {'d': datetime.datetime(2023, 9, 5, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 56.0}, {'d': datetime.datetime(2023, 9, 5, 13, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 55.8}, {'d': datetime.datetime(2023, 9, 5, 14, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 55.0}, {'d': datetime.datetime(2023, 9, 5, 15, 0, tzinfo=zoneinfo.ZoneInfo(key='Europe/Berlin')), 'value': 55.0}]
2023-09-05 16:06:00.941 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 00:00:00+02:00, state: 61.0, sum: 746792.200000005.
2023-09-05 16:06:00.942 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 01:00:00+02:00, state: 60.1, sum: 746852.3000000049.
2023-09-05 16:06:00.942 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 02:00:00+02:00, state: 60.0, sum: 746912.3000000049.
2023-09-05 16:06:00.943 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 03:00:00+02:00, state: 59.5, sum: 746971.8000000049.
2023-09-05 16:06:00.943 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 04:00:00+02:00, state: 59.0, sum: 747030.8000000049.
2023-09-05 16:06:00.943 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 05:00:00+02:00, state: 59.0, sum: 747089.8000000049.
2023-09-05 16:06:00.948 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 06:00:00+02:00, state: 58.0, sum: 747147.8000000049.
2023-09-05 16:06:00.949 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 07:00:00+02:00, state: 58.0, sum: 747205.8000000049.
2023-09-05 16:06:00.949 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 08:00:00+02:00, state: 57.6, sum: 747263.4000000049.
2023-09-05 16:06:00.949 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 09:00:00+02:00, state: 57.0, sum: 747320.4000000049.
2023-09-05 16:06:00.949 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 10:00:00+02:00, state: 57.0, sum: 747377.4000000049.
2023-09-05 16:06:00.950 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 11:00:00+02:00, state: 56.0, sum: 747433.4000000049.
2023-09-05 16:06:00.950 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 12:00:00+02:00, state: 56.0, sum: 747489.4000000049.
2023-09-05 16:06:00.950 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 13:00:00+02:00, state: 55.8, sum: 747545.200000005.
2023-09-05 16:06:00.950 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 14:00:00+02:00, state: 55.0, sum: 747600.200000005.
2023-09-05 16:06:00.950 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:ractualtempexternal. Date: 2023-09-05 15:00:00+02:00, state: 55.0, sum: 747655.200000005.
2023-09-05 16:06:19.189 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsOutdoor temperature337304066 called.
2023-09-05 16:06:19.190 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHotwater temp337304066 called.
2023-09-05 16:06:19.192 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSupply temp setpoint337304066 called.
2023-09-05 16:06:19.193 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual supply temp337304066 called.
2023-09-05 16:06:19.194 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsHealth status337304066 called.
2023-09-05 16:06:19.194 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsReturn temp337304066 called.
2023-09-05 16:06:19.197 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Power337304066 called.
2023-09-05 16:06:19.198 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual Supply temperature337304066 called.
2023-09-05 16:06:19.199 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual modulation337304066 called.
2023-09-05 16:06:19.199 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsActual heating pump modulation337304066 called.
2023-09-05 16:06:19.200 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsTotal system uptime337304066 called.
2023-09-05 16:06:19.201 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsEnergy consumption337304066 called.
2023-09-05 16:06:19.202 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsStart time337304066 called.
2023-09-05 16:06:19.204 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsSystem pressure337304066 called.
2023-09-05 16:06:19.204 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor Sensorsburner Power Setpoint337304066 called.
2023-09-05 16:06:19.205 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsnumberOfStarts337304066 called.
2023-09-05 16:06:19.205 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsNotifications337304066 called.
2023-09-05 16:06:19.206 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor SensorsPool temperature337304066 called.
2023-09-05 16:06:19.206 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Water flow337304066 called.
2023-09-05 16:06:19.206 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor dhw1dhw1Working time337304066 called.
2023-09-05 16:06:19.207 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1supplyTemperatureSetpoint337304066 called.
2023-09-05 16:06:19.207 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Threshold337304066 called.
2023-09-05 16:06:19.208 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Pump Modulation337304066 called.
2023-09-05 16:06:19.210 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Summer Winter Switchmode337304066 called.
2023-09-05 16:06:19.210 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current Summer Winter Mode337304066 called.
2023-09-05 16:06:19.211 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Actual supply temperature for HC337304066 called.
2023-09-05 16:06:19.212 DEBUG (MainThread) [custom_components.bosch.sensor.base] Update of sensor hc1hc1Current room setpoint337304066 called.
2023-09-05 16:06:19.213 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 593, in state
    numerical_value = float(value)  # type:ignore[arg-type]
                      ^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 880, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 717, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 808, in _async_write_ha_state
    state = self._stringify_state(available)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 752, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 595, in state
    raise ValueError(
ValueError: Sensor sensor.pool_temperature has device class 'temperature', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2023-09-05 16:06:19.422 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsflameStatus337304066 called.
2023-09-05 16:06:19.423 DEBUG (MainThread) [custom_components.bosch.binary_sensor] Update of binary sensor SensorsChimneySweeper337304066 called.
2023-09-05 16:06:49.032 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites.
pszafer commented 1 year ago

@zbikmarc can you try to use service bosch.fetch_recordings_sensor_range and fetch wrongly calculated day. @hardysim can you restart HA and find line in logs with component version, to be sure that it updated correctly

zbikmarc commented 1 year ago

@zbikmarc can you try to use service bosch.fetch_recordings_sensor_range and fetch wrongly calculated day.

This fixes old data but I have to go one by one. Is it possible to run it for range of dates? Other than nice for loop in favourite language? ;)

hardysim commented 1 year ago

Hmm, looking bad. 2023-09-06 09:31:49.008 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.23.2.

How do I correctly update the version? I've tried HACS > bosch integration > ReDownload (and restart HA). But even removing the integration in HACS and doing a fresh install doesn't work. I still see version 0.23.2 in the log?!

hardysim commented 1 year ago

Maybe I don't get the newest version because HASC cannot find the integration anymore? I've removed HACS now and re-installed but but now, I cannot find this integration anymore.

image

hardysim commented 1 year ago

I got it working (removed and re-installed some parts) to see and add the stats to the energy dashboard. Is it intended that there's only 2 Stats entries for the energy dashboard? Looks like the CHPower is missing?

image

pszafer commented 1 year ago

Send me current Bosch scan

hardysim commented 1 year ago

I'm confused. The log states version 0.23.2 but the stats-entries have been added with 0.23.4? Why do I see (at least two of) them?

2023-09-06 12:11:36.534 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.23.2.

A new debug scan can be found here: http://jsonblob.com/1148925688845033472

pszafer commented 1 year ago

actualchpower is 0 all day, zeroes are not added (so table won't get much garbage). Wait when you start heating.

hanny24 commented 1 year ago

Hi, I'm having the same issues. I think that the cause log message

2023-09-06 12:11:36.534 INFO (MainThread) [custom_components.bosch] Setting up Bosch component version 0.23.2.

Is this change: https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/blob/a9494d4035059ebd2727740bb047284795b7a7d0/custom_components/bosch/manifest.json#L9 I think it should contain 0.23.4.

zbikmarc commented 1 year ago

@hanny24 I do not think so, look: https://www.wheelodex.org/projects/bosch-thermostat-client/ This is python library which newest version is 0.23.2 - accidentally maintained by Paweł also ;)

I also have this message, however I think this is just wrong string version. I think you can check what verison you really have installed in /custom_components/bosch/manifest.json In my case it is 0.23.4 despite message saying it is 0.23.2

hanny24 commented 1 year ago

@zbikmarc You're right.

Anyway I was digging into recorder database and found out following:

Given query select * from "statistics" s where s.metadata_id =9 order by s.start_ts I get following (snippet only):

"id","created","created_ts","metadata_id","start","start_ts","mean","min","max","last_reset","last_reset_ts","state","sum"
1909,,1693598222.2553136,9,,1693314000,,,,,,7.0,145.1
1910,,1693598222.2594414,9,,1693436400,,,,,,5.0,150.1
1911,,1693598222.2635334,9,,1693515600,,,,,,3.0,153.1
1912,,1693598222.2736113,9,,1693519200,,,,,,4.0,173.1
1984,,1693609561.0954728,9,,1693605600,,,,,,3.0,296.1
1986,,1693613160.4239945,9,,1693609200,,,,,,2.0,298.1
2007,,1693681560.4170222,9,,1693677600,,,,,,6.0,304.1
2030,,1693746360.409669,9,,1693742400,,,,,,5.0,349.1
2072,,1693814760.4213886,9,,1693810800,,,,,,5.0,431.1
2075,,1693818360.4838953,9,,1693814400,,,,,,1.0,432.1
2108,,1693872360.4198792,9,,1693868400,,,,,,5.0,659.1
2111,,1693875960.4313078,9,,1693872000,,,,,,1.0,660.1
2138,,1693919160.5423095,9,,1693915200,,,,,,4.0,664.1
2142,,1693922760.4434335,9,,1693918800,,,,,,5.0,669.1
2325,,1694034360.4274225,9,,1694030400,,,,,,2.0,671.1
3490,,1694109960.4227011,9,,1694106000,,,,,,2.0,673.1
3548,,1694113560.7660406,9,,1694109600,,,,,,3.0,676.1
4567,,1694180383.1576085,9,,1694167200,,,,,,2.0,678.1
4568,,1694180383.1626177,9,,1694170800,,,,,,3.0,681.1
5324,,1694225160.4136014,9,,1694221200,,,,,,6.0,687.1
5383,,1694228760.4255848,9,,1694224800,,,,,,1.0,688.1
6312,,1694286360.4209156,9,,1694282400,,,,,,4.0,692.1
6372,,1694289960.9096205,9,,1694286000,,,,,,2.0,694.1
7182,,1694340360.4232645,9,,1694336400,,,,,,5.0,699.1
8024,,1694394360.4142873,9,,1694390400,,,,,,2.0,701.1
8081,,1694397960.4231,9,,1694394000,,,,,,4.0,705.1

If I understand it correctly, the value of sum should always contain sum of column state and state of previous row.

hardysim commented 1 year ago

My values see to be correct now (starting with Sep 6.) and match the values in the app.

But before that day (which was the day i've updated the lib) look wrong / too much. Is there a way to remove the old/wrong data?

image

hardysim commented 1 year ago

So it looks like it worked for a bit but stopped some days ago. Maybe the update to HA 10.3 broke something?

image

hardysim commented 1 year ago

I get a notification about some problems: image

Here's the current debug scan: http://jsonblob.com/1163750514751299584

mellaiz commented 12 months ago

I had similar issues - after i cleared entity's history now i have -17 everywhere under recording sensors:

image
hardysim commented 12 months ago

AFAIK -17 is the value for "unknown" in this specific integration.

mellaiz commented 12 months ago

@pszafer any ideas about root cause? From which entity or entities these values are collected/summed?

Dejmal69 commented 9 months ago

I noticed one more anomaly. No one has mentioned it here yet, but every day from 22:00 the state values are missing. The log record proves it. This is followed by an incorrect entry at 0:00

image

state: 1.0, sum: 3326.7000000000126. 2023-12-26 23:06:00.314 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-26 17:00:00+01:00, state: 1.0, sum: 3327.7000000000126. 2023-12-26 23:06:00.314 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-26 18:00:00+01:00, state: 1.0, sum: 3328.7000000000126. 2023-12-26 23:06:00.315 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-26 19:00:00+01:00, state: 1.0, sum: 3329.7000000000126. 2023-12-26 23:06:00.315 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-26 20:00:00+01:00, state: 1.0, sum: 3330.7000000000126. 2023-12-26 23:06:00.315 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-26 21:00:00+01:00, state: 2.0, sum: 3332.7000000000126. 2023-12-26 23:06:00.315 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-26 22:00:00+01:00, state: 1.0, sum: 3333.7000000000126. 2023-12-26 23:06:00.327 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:reheaterexternal found {'start': 1701676800.0, 'end': 1701680400.0, 'state': 1.0, 'sum': 359.5} 2023-12-26 23:06:00.327 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Last row of statistic recording:reheaterexternal found 2023-12-04 08:00:00+00:00, missing 22 days, 14:06:00.269935 with current sum 359.5 2023-12-26 23:06:00.328 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Attempt to fetch range 2023-12-04 00:00:00+01:00 - 2023-12-26 23:06:00.269935+01:00 for recording:reheaterexternal 2023-12-27 00:06:00.550 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:rconsumedenergyexternal. 2023-12-27 00:06:00.551 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:reheaterexternal. 2023-12-27 00:06:00.567 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:rconsumedenergyexternal found {'start': 1703624400.0, 'end': 1703628000.0, 'state': 1.0, 'sum': 3333.7000000000126} 2023-12-27 00:06:00.574 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:reheaterexternal found {'start': 1701676800.0, 'end': 1701680400.0, 'state': 1.0, 'sum': 359.5} 2023-12-27 00:06:00.574 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Last row of statistic recording:reheaterexternal found 2023-12-04 08:00:00+00:00, missing 22 days, 15:06:00.551737 with current sum 359.5 2023-12-27 00:06:00.575 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Attempt to fetch range 2023-12-04 00:00:00+01:00 - 2023-12-27 00:06:00.551737+01:00 for recording:reheaterexternal 2023-12-27 01:06:00.273 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:rconsumedenergyexternal. 2023-12-27 01:06:00.274 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:reheaterexternal. 2023-12-27 01:06:00.294 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:rconsumedenergyexternal found {'start': 1703624400.0, 'end': 1703628000.0, 'state': 1.0, 'sum': 3333.7000000000126} 2023-12-27 01:06:00.295 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-27 00:00:00+01:00, state: 1.0, sum: 3334.7000000000126. 2023-12-27 01:06:00.296 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:reheaterexternal found {'start': 1701676800.0, 'end': 1701680400.0, 'state': 1.0, 'sum': 359.5} 2023-12-27 01:06:00.296 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Last row of statistic recording:reheaterexternal found 2023-12-04 08:00:00+00:00, missing 22 days, 16:06:00.274448 with current sum 359.5 2023-12-27 01:06:00.296 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Attempt to fetch range 2023-12-04 00:00:00+01:00 - 2023-12-27 01:06:00.274448+01:00 for recording:reheaterexternal 2023-12-27 02:06:00.274 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:rconsumedenergyexternal. 2023-12-27 02:06:00.275 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:reheaterexternal. 2023-12-27 02:06:00.291 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:reheaterexternal found {'start': 1701676800.0, 'end': 1701680400.0, 'state': 1.0, 'sum': 359.5} 2023-12-27 02:06:00.292 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Last row of statistic recording:reheaterexternal found 2023-12-04 08:00:00+00:00, missing 22 days, 17:06:00.275524 with current sum 359.5 2023-12-27 02:06:00.292 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Attempt to fetch range 2023-12-04 00:00:00+01:00 - 2023-12-27 02:06:00.275524+01:00 for recording:reheaterexternal 2023-12-27 02:06:00.300 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:rconsumedenergyexternal found {'start': 1703631600.0, 'end': 1703635200.0, 'state': 1.0, 'sum': 3334.7000000000126} 2023-12-27 02:06:00.301 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-27 00:00:00+01:00, state: 1.0, sum: 3335.7000000000126. 2023-12-27 02:06:00.301 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-27 01:00:00+01:00, state: 2.0, sum: 3337.7000000000126. 2023-12-27 03:06:00.266 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:rconsumedenergyexternal. 2023-12-27 03:06:00.266 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Invoking external statistic function for recording:reheaterexternal. 2023-12-27 03:06:00.287 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:rconsumedenergyexternal found {'start': 1703631600.0, 'end': 1703635200.0, 'state': 1.0, 'sum': 3335.7000000000126} 2023-12-27 03:06:00.287 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-27 00:00:00+01:00, state: 1.0, sum: 3336.7000000000126. 2023-12-27 03:06:00.287 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-27 01:00:00+01:00, state: 2.0, sum: 3338.7000000000126. 2023-12-27 03:06:00.288 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Appending day to statistic table with id: recording:rconsumedenergyexternal. Date: 2023-12-27 02:00:00+01:00, state: 1.0, sum: 3339.7000000000126. 2023-12-27 03:06:00.307 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Last stat for recording:reheaterexternal found {'start': 1701676800.0, 'end': 1701680400.0, 'state': 1.0, 'sum': 359.5} 2023-12-27 03:06:00.307 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Last row of statistic recording:reheaterexternal found 2023-12-04 08:00:00+00:00, missing 22 days, 18:06:00.267016 with current sum 359.5 2023-12-27 03:06:00.307 DEBUG (MainThread) [custom_components.bosch.sensor.statistic_helper] Attempt to fetch range 2023-12-04 00:00:00+01:00 - 2023-12-27 03:06:00.267016+01:00 for recording:reheaterexternal

pszafer commented 9 months ago

Should be fixed in https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.24.1