-
Notifications
You must be signed in to change notification settings - Fork 9
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
Sensor attributes missing #21
Comments
@felixrohrbach Have been very busy off late. Sorry! Will get to this issue soon. Hang in there! |
I'm also waiting this... |
Is this still working? I cannot get values for cards or values are all the time same. That differs what card I am trying to use. |
This was solution for my problem. Thanks to jroine. Hi, it appears that this module is currently broken because device_state_attributes has been replaced by extra_state_attributes. Workaround: replace line 105 of sensor.py from |
@MikkoIlari : for me this problem still exists. I tried to make the change you mentioned, but now the integration does not create the sensors. Maybe to retrace what I did:
Did you make any further changes to the files besides the one that you mentioned? |
Hi, I only change that def device_state_attributes(self): to def extra_state_attributes(self): and it started to work. |
Same problem here, won't work even with the suggested change on code. Deleted integration and reinstalled, no change. Can only see Route number in the entity, no other attributes. Any help from author is highly appreciated. |
Hi, I have this version: Home Assistant Core I have used examples from here: https://github.com/anand-p-r/hslhrt-hass-custom/blob/main/README.md I do not have any tips, but I can check my configuration if you have any questions. |
For me suggested fix got this working again. Thanks! |
This worked for me, thx @MikkoIlari ! |
Using HA Core 2022.4.6
Using Plugin Version 0.3.5
Sensor seems to update (in developer tools last changed/last updated changes), but sensor no longer carries the additional attributes like Destination, Arrival time, ...
The text was updated successfully, but these errors were encountered: