Corrected temperature unit in outside_temp.

Changes temperature unit from Celsius to Fahrenheit in the weather sensor descriptions.
pull/61/head
schizza 2025-03-11 17:39:09 +01:00
parent 41e2415e69
commit 47143d9ac2
2 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,6 @@
"issue_tracker": "https://github.com/schizza/SWS-12500-custom-component/issues",
"requirements": [],
"ssdp": [],
"version": "1.5.2",
"version": "1.5.3",
"zeroconf": []
}

View File

@ -64,7 +64,7 @@ SENSOR_TYPES_WEATHER_API: tuple[WeatherSensorEntityDescription, ...] = (
),
WeatherSensorEntityDescription(
key=OUTSIDE_TEMP,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
native_unit_of_measurement=UnitOfTemperature.FAHRENHEIT,
state_class=SensorStateClass.MEASUREMENT,
icon="mdi:thermometer",
device_class=SensorDeviceClass.TEMPERATURE,