Compare commits
No commits in common. "49cd1acc40de1ee35393c444a3e3f585f94ab9fa" and "99d25bfd560239c6ddbfcfb130a63079e07b64af" have entirely different histories.
49cd1acc40
...
99d25bfd56
|
|
@ -7,6 +7,7 @@ DOMAIN = "sws12500"
|
||||||
DEFAULT_URL = "/weatherstation/updateweatherstation.php"
|
DEFAULT_URL = "/weatherstation/updateweatherstation.php"
|
||||||
WSLINK_URL = "/data/upload.php"
|
WSLINK_URL = "/data/upload.php"
|
||||||
WINDY_URL = "https://stations.windy.com/pws/update/"
|
WINDY_URL = "https://stations.windy.com/pws/update/"
|
||||||
|
DATABASE_PATH = "/config/home-assistant_v2.db"
|
||||||
|
|
||||||
ICON = "mdi:weather"
|
ICON = "mdi:weather"
|
||||||
|
|
||||||
|
|
@ -15,8 +16,6 @@ API_ID = "API_ID"
|
||||||
|
|
||||||
SENSORS_TO_LOAD: Final = "sensors_to_load"
|
SENSORS_TO_LOAD: Final = "sensors_to_load"
|
||||||
SENSOR_TO_MIGRATE: Final = "sensor_to_migrate"
|
SENSOR_TO_MIGRATE: Final = "sensor_to_migrate"
|
||||||
MIG_FROM: Final = "migrate_from"
|
|
||||||
MIG_TO: Final = "migrate_to"
|
|
||||||
|
|
||||||
DEV_DBG: Final = "dev_debug_checkbox"
|
DEV_DBG: Final = "dev_debug_checkbox"
|
||||||
WSLINK: Final = "wslink"
|
WSLINK: Final = "wslink"
|
||||||
|
|
|
||||||
|
|
@ -27,22 +27,22 @@ from .const import (
|
||||||
DAILY_RAIN,
|
DAILY_RAIN,
|
||||||
DEW_POINT,
|
DEW_POINT,
|
||||||
HEAT_INDEX,
|
HEAT_INDEX,
|
||||||
HOURLY_RAIN,
|
|
||||||
INDOOR_HUMIDITY,
|
INDOOR_HUMIDITY,
|
||||||
INDOOR_TEMP,
|
INDOOR_TEMP,
|
||||||
MONTHLY_RAIN,
|
|
||||||
OUTSIDE_HUMIDITY,
|
OUTSIDE_HUMIDITY,
|
||||||
OUTSIDE_TEMP,
|
OUTSIDE_TEMP,
|
||||||
RAIN,
|
RAIN,
|
||||||
SOLAR_RADIATION,
|
SOLAR_RADIATION,
|
||||||
UV,
|
UV,
|
||||||
WEEKLY_RAIN,
|
|
||||||
WIND_AZIMUT,
|
WIND_AZIMUT,
|
||||||
WIND_DIR,
|
WIND_DIR,
|
||||||
WIND_GUST,
|
WIND_GUST,
|
||||||
WIND_SPEED,
|
WIND_SPEED,
|
||||||
YEARLY_RAIN,
|
|
||||||
UnitOfDir,
|
UnitOfDir,
|
||||||
|
MONTHLY_RAIN,
|
||||||
|
YEARLY_RAIN,
|
||||||
|
HOURLY_RAIN,
|
||||||
|
WEEKLY_RAIN,
|
||||||
)
|
)
|
||||||
from .sensors_common import WeatherSensorEntityDescription
|
from .sensors_common import WeatherSensorEntityDescription
|
||||||
from .utils import wind_dir_to_text
|
from .utils import wind_dir_to_text
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue