Skip to content

Commit

Permalink
Update to handling of update entity (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Dec 31, 2023
1 parent 9a98719 commit 37224a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -10032,7 +10032,6 @@ def expose_config(self, name, value, quiet=True, event=False):
elif item["type"] == "select":
icon = item.get("icon", "mdi:format-list-bulleted")
self.set_state(entity_id=entity, state=value, attributes={"friendly_name": item["friendly_name"], "options": item["options"], "icon": icon})
self.log("Set state id {} value {} attributes {}".format(entity, value, {"friendly_name": item["friendly_name"], "options": item["options"], "icon": icon}))
elif item["type"] == "update":
summary = self.releases.get("this_body", "")
latest = self.releases.get("latest", "check HACS")
Expand Down

0 comments on commit 37224a5

Please sign in to comment.