Skip to content

Commit

Permalink
Merge pull request #331 from henricm/fix-control-status
Browse files Browse the repository at this point in the history
fix: add control status sensor on init
  • Loading branch information
argoyle authored Apr 15, 2023
2 parents 79fb34e + 2beb9b1 commit 1a64f2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/ferroamp/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ def ehub_response_received(msg):

store, _ = get_store(f"{slug}_{EHUB}")
get_version_sensor(store)
get_cmd_sensor(store)

listeners.append(await mqtt.async_subscribe(
hass, f"{config_entry.data[CONF_PREFIX]}/{TOPIC_EHUB}", ehub_event_received, 0
Expand Down

0 comments on commit 1a64f2a

Please sign in to comment.