Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
roleoroleo committed Jul 21, 2023
1 parent 97c772a commit 987b9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/yi_hack/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def __init__(self, hass, config):
self._mqtt_subscription = None
self._mqtt_cmnd_topic = config.data[CONF_MQTT_PREFIX] + "/cmnd/camera/switch_on"
self._mqtt_stat_topic = config.data[CONF_MQTT_PREFIX] + "/stat/camera/switch_on"
self._state = None
self._state = True

self._http_base_url = "http://" + self._host
if self._port != 80:
Expand Down

0 comments on commit 987b9bb

Please sign in to comment.