You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Thanks. I’ll make the change tonight. I fixed the not populating issue by
removing an if statement in the device-state-attribute function , but did
not know the function name needed to change
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.
The text was updated successfully, but these errors were encountered: