* Fix binary sensor in Ambient PWS * Correctly load entities * Corrected what on and off means for existing sensor * Make sure to return a boolean * Member comments * Binary sensor doesn't need state property
13 lines
252 B
Python
13 lines
252 B
Python
"""Define constants for the Ambient PWS component."""
|
|
DOMAIN = 'ambient_station'
|
|
|
|
ATTR_LAST_DATA = 'last_data'
|
|
|
|
CONF_APP_KEY = 'app_key'
|
|
|
|
DATA_CLIENT = 'data_client'
|
|
|
|
TOPIC_UPDATE = 'update'
|
|
|
|
TYPE_BINARY_SENSOR = 'binary_sensor'
|
|
TYPE_SENSOR = 'sensor'
|