mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 18:27:51 +00:00

* Adding a new "Ambient Weather Network" integration. * Rebase and update code coverage. * Addressed some reviewer comments. * Remove mnemonics and replace with station names. * Remove climate-utils * Remove support for virtual stations. * Rebase * Address feedback * Remove redundant errors * Reviewer feedback * Add icons.json * More icons * Reviewer feedback * Fix test * Make sensor tests more robust * Make coordinator more robust * Change update coordinator to raise UpdateFailed * Recover from no station found error * Dynamically set device name * Address feedback * Disable some sensors by default * Reviewer feedback * Change from hub to service * Rebase * Address reviewer feedback * Reviewer feedback * Manually rerun ruff on all files
17 lines
392 B
Python
17 lines
392 B
Python
"""Constants for the Ambient Weather Network integration."""
|
|
|
|
import logging
|
|
|
|
DOMAIN = "ambient_network"
|
|
|
|
API_LAST_DATA = "lastData"
|
|
API_STATION_COORDS = "coords"
|
|
API_STATION_INDOOR = "indoor"
|
|
API_STATION_INFO = "info"
|
|
API_STATION_LOCATION = "location"
|
|
API_STATION_NAME = "name"
|
|
API_STATION_MAC_ADDRESS = "macAddress"
|
|
API_STATION_TYPE = "stationtype"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|