Skip to content

Commit

Permalink
chore(hass_drivre): update code according to pylint recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierBerger committed Sep 5, 2023
1 parent 016a635 commit a88fa53
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions appdaemon/test/appdaemon_testing/hass_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ def _se_get_state(self, entity_id=None, attribute="state", default=None, **kwarg

if fully_qualified:
return matched_states[entity_id]
else:
return matched_states
return matched_states

def get_number_of_state_callbacks(self, entity):
if entity in self._state_spys.keys():
Expand Down

0 comments on commit a88fa53

Please sign in to comment.