Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
litinoveweedle committed Jun 4, 2024
1 parent 24b5f1a commit 435025f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/smartir/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,7 @@ async def async_added_to_hass(self):
self.hass, self._humidity_sensor, self._async_humidity_sensor_changed
)
if last_state is not None:
self._current_humidity = last_state.attributes.get(
"current_humidity"
)
self._current_humidity = last_state.attributes.get("current_humidity")

if self._power_sensor:
async_track_state_change_event(
Expand Down

0 comments on commit 435025f

Please sign in to comment.