* move imports to top-level in mqtt server * move imports to top-level in mqtt configflow * move imports to top-level in mqtt init * move imports to top-level in mqtt vacuum * move imports to top-level in mqtt light
9 lines
237 B
Python
9 lines
237 B
Python
"""Constants used by multiple MQTT modules."""
|
|
CONF_BROKER = "broker"
|
|
CONF_DISCOVERY = "discovery"
|
|
DEFAULT_DISCOVERY = False
|
|
|
|
ATTR_DISCOVERY_HASH = "discovery_hash"
|
|
CONF_STATE_TOPIC = "state_topic"
|
|
PROTOCOL_311 = "3.1.1"
|
|
DEFAULT_QOS = 0
|