-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for number.luxtronik2_domestic_water_thermal_desinfection_target fails #82
Comments
Please try the last pre-release 2022.02.02 |
With 2022.02.02 I didn't see any such errors anymore, so I will close the issue. |
This error originated from a custom integration. Logger: homeassistant.helpers.entity Update for number.luxtronik2_domestic_water_thermal_desinfection_target fails After HA starts up, everything is OK: no error. |
@rhammen Please try the current main draft. I'm have currently installed the new core-preview and can not test this. |
@BenPru Ok, I have updated my local install with these changes. My next Thermal desinfection run is on Monday, I'll report back afterwards. What is the reason you don't want to update self._last_thermal_desinfection when self._last_thermal_desinfection is "in the future"?
|
New error with the latest version, after my thermal desinfection ran last night: This error originated from a custom integration. Logger: homeassistant.helpers.entity Update for number.luxtronik2_domestic_water_thermal_desinfection_target fails |
Sorry, missing import. Should be fixed. |
Did not see this error recently, so confirm it is fixed. |
This error originated from a custom integration.
Logger: homeassistant.helpers.entity
Source: custom_components/luxtronik2/number.py:397
Integration: Luxtronik
First occurred: 00:16:13 (147 occurrences)
Last logged: 01:29:13
Update for number.luxtronik2_domestic_water_thermal_desinfection_target fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 736, in async_device_update
raise exc
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/luxtronik2/number.py", line 397, in update
if domesticWaterCurrent >= float(self.native_value) and (self._last_thermal_desinfection is None or self._last_thermal_desinfection < datetime.now().date):
TypeError: '<' not supported between instances of 'str' and 'builtin_function_or_method'
The text was updated successfully, but these errors were encountered: