-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
None of the daily sensors is updating any more #56
Comments
Same here after the update to 2024.6.0 yesterday. |
I have just noticed that the same error has already been reported in a reaction to fix #52. So this seems to be a problem with HADailySensor, not with core 2024.6.0 !?! |
Same for me. 2024.4.4 |
Same for me... |
1 similar comment
Same for me... |
Which version of daily are you all using? At least including that would make the 'same for me' kind of useful... |
2024.4.4 |
Updated yesterday, so the latest version ... after fix #52. 2024.4.4 |
2024.4.4 |
I've got the same Problem after updating the Daily Sensors to 2024.4.4 TypeError: float() argument must be a string or a real number, not 'State' |
I'm using 2024.4.4 |
Same for me 2025.4.4 |
Thank you and have a nice day.
De : Jeroen ter Heerdt ***@***.***>
Envoyé : samedi 8 juin 2024 01:23
À : jeroenterheerdt/HADailySensor ***@***.***>
Cc : Giorsetti ***@***.***>; Comment ***@***.***>
Objet : Re: [jeroenterheerdt/HADailySensor] None of the daily sensors is updating any more (Issue #56)
Closed #56 <#56> as completed via <5bb812b> 5bb812b.
—
Reply to this email directly, view it on GitHub <#56 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BESUOVSP2FPHW2ZM7HOFDM3ZGI6FVAVCNFSM6AAAAABI6FDV6GVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA4DMMRUGQ4TKMI> .
You are receiving this because you commented. <https://github.com/notifications/beacon/BESUOVWU34HUBQ5SLBRZBLDZGI6FVA5CNFSM6AAAAABI6FDV6GWGG33NNVSW45C7OR4XAZNWJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XKUY3PNVWWK3TUL5UWJTYAAAAAGDAAIBLQ.gif> Message ID: ***@***.*** ***@***.***> >
|
Perfect fix, thank you, Jeroen! |
Thanks for the fix. |
Tank for the fix |
Since I made updates yesterday to the HADailySensor and Home assistant core (2024.6.0?), none of the daily sensors is updateing anymore. Instead I get the following in the log file
2024-06-07 09:49:38.169 INFO (MainThread) [custom_components.daily] Updating Daily Sensor HoymilesMaxofDaykWh
2024-06-07 09:49:38.174 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/daily/sensor.py", line 72, in
lambda event: self._handle_update( # pylint: disable=unnecessary-lambda
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/daily/sensor.py", line 102, in _handle_update
the_val = self.convert_to_float(input_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/daily/sensor.py", line 155, in convert_to_float
return float(float_value)
^^^^^^^^^^^^^^^^^^
TypeError: float() argument must be a string or a real number, not 'State'
Any clue to what has happened?
BR, Jörg.
The text was updated successfully, but these errors were encountered: