Compare commits

..

No commits in common. "49cd1acc40de1ee35393c444a3e3f585f94ab9fa" and "99d25bfd560239c6ddbfcfb130a63079e07b64af" have entirely different histories.

2 changed files with 5 additions and 6 deletions

View File

@ -7,6 +7,7 @@ DOMAIN = "sws12500"
DEFAULT_URL = "/weatherstation/updateweatherstation.php"
WSLINK_URL = "/data/upload.php"
WINDY_URL = "https://stations.windy.com/pws/update/"
DATABASE_PATH = "/config/home-assistant_v2.db"
ICON = "mdi:weather"
@ -15,8 +16,6 @@ API_ID = "API_ID"
SENSORS_TO_LOAD: Final = "sensors_to_load"
SENSOR_TO_MIGRATE: Final = "sensor_to_migrate"
MIG_FROM: Final = "migrate_from"
MIG_TO: Final = "migrate_to"
DEV_DBG: Final = "dev_debug_checkbox"
WSLINK: Final = "wslink"

View File

@ -27,22 +27,22 @@ from .const import (
DAILY_RAIN,
DEW_POINT,
HEAT_INDEX,
HOURLY_RAIN,
INDOOR_HUMIDITY,
INDOOR_TEMP,
MONTHLY_RAIN,
OUTSIDE_HUMIDITY,
OUTSIDE_TEMP,
RAIN,
SOLAR_RADIATION,
UV,
WEEKLY_RAIN,
WIND_AZIMUT,
WIND_DIR,
WIND_GUST,
WIND_SPEED,
YEARLY_RAIN,
UnitOfDir,
MONTHLY_RAIN,
YEARLY_RAIN,
HOURLY_RAIN,
WEEKLY_RAIN,
)
from .sensors_common import WeatherSensorEntityDescription
from .utils import wind_dir_to_text