Skip to content

Commit

Permalink
Merge pull request #52 from vincentwolsink/value_options
Browse files Browse the repository at this point in the history
Return empty dict on no options, fixes #48
  • Loading branch information
vincentwolsink authored Oct 11, 2023
2 parents 86f6226 + c35d722 commit e195258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/aguaiot/aguaiot.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ def get_register_value_options(self, key):
for item in self.get_register(key).get("enc_val")
if item["lang"] == "ENG"
}
return {}

async def set_register_value(self, key, value):
values = [self.__prepare_value_for_writing(key, value)]
Expand Down

0 comments on commit e195258

Please sign in to comment.