Skip to content

Commit

Permalink
refactor(black): run black for z2m.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Sep 19, 2020
1 parent 76ef7c6 commit f7e2982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/controllerx/cx_core/integration/z2m.py
Expand Up @@ -23,7 +23,7 @@ def listen_changes(self, controller_id: str) -> None:
if listens_to == LISTENS_TO_HA:
Hass.listen_state(self.controller, self.state_callback, controller_id)
elif listens_to == LISTENS_TO_MQTT:
topic_prefix = self.kwargs.get('topic_prefix', 'zigbee2mqtt')
topic_prefix = self.kwargs.get("topic_prefix", "zigbee2mqtt")
Mqtt.listen_event(
self.controller,
self.event_callback,
Expand Down

0 comments on commit f7e2982

Please sign in to comment.