Skip to content
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

Supporting HA 2021.12 and later #2

Open
DarkWolf7 opened this issue Dec 17, 2021 · 1 comment
Open

Supporting HA 2021.12 and later #2

DarkWolf7 opened this issue Dec 17, 2021 · 1 comment

Comments

@DarkWolf7
Copy link

Hey there, looks like device_state_attributes was deprecated. After updating to 2012.12.1, the sensor.sagetv was no longer populating the data attribute. I was able to fix it by updating the following:

from:
def device_state_attributes(self):

to:
def extra_state_attributes(self):

I would put in a pull request, but I don't have a python dev environment set up and it seems like overkill for this one liner fix.

@jdeath
Copy link
Owner

jdeath commented Dec 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants