1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix PEP257 issues

This commit is contained in:
Fabian Affolter
2016-03-07 20:20:07 +01:00
parent f6bc1a4575
commit fb7bd1bfe1
9 changed files with 30 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
"""
Offers MQTT listening automation rules.
Offer MQTT listening automation rules.
For more details about this automation rule, please refer to the documentation
at https://home-assistant.io/components/automation/#mqtt-trigger
@@ -25,7 +25,7 @@ def trigger(hass, config, action):
return False
def mqtt_automation_listener(msg_topic, msg_payload, qos):
"""Listens for MQTT messages."""
"""Listen for MQTT messages."""
if payload is None or payload == msg_payload:
action()