diff --git a/custom_components/weatherflow_forecast/weather.py b/custom_components/weatherflow_forecast/weather.py index fbc8a51..7ee1eed 100644 --- a/custom_components/weatherflow_forecast/weather.py +++ b/custom_components/weatherflow_forecast/weather.py @@ -59,3 +59,9 @@ class WeatherFlowWeather(SingleCoordinatorWeatherEntity[WeatherFlowForecastDataU ) _attr_has_entity_name = True _attr_native_temperature_unit = UnitOfTemperature.CELSIUS + _attr_native_precipitation_unit = UnitOfPrecipitationDepth.MILLIMETERS + _attr_native_pressure_unit = UnitOfPressure.HPA + _attr_native_wind_speed_unit = UnitOfSpeed.METERS_PER_SECOND + _attr_supported_features = ( + WeatherEntityFeature.FORECAST_DAILY | WeatherEntityFeature.FORECAST_HOURLY + )