Skip to content

Commit

Permalink
change device_state -> extra_state
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-code-ruiz authored Dec 17, 2021
1 parent 0df786f commit bc6727a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/uhomeuponor/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def target_temperature(self):
return self.thermostat.by_name('room_setpoint').value

@property
def device_state_attributes(self):
def extra_state_attributes(self):
return {
ATTR_TECHNICAL_ALARM: self.thermostat.by_name('technical_alarm').value,
ATTR_RF_SIGNAL_ALARM: self.thermostat.by_name('rf_alarm').value,
Expand Down

0 comments on commit bc6727a

Please sign in to comment.