hass-core/homeassistant/components/nightscout/const.py
Marcio Granzotto Rodrigues 52a9921ed3
Nightscout PR fixes (#38737)
* Don't allow duplicate nightscout configs

* Fix nightscout translations

* Remove unnecessary should_poll method

* Remove SVG attribute, as it was duplicating the state

* Use aiohttp client session from HA

* Move validate_input outside the config class

* Use the entry unique_id on the sensor

* Move create entity logic

* Handle unexpected exception on Nightscout config
2020-08-13 07:46:07 -04:00

8 lines
164 B
Python

"""Constants for the Nightscout integration."""
DOMAIN = "nightscout"
ATTR_DEVICE = "device"
ATTR_DATE = "date"
ATTR_DELTA = "delta"
ATTR_DIRECTION = "direction"