mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Add UV unit to meteo_france UV sensor (#43992)
This commit is contained in:
parent
5fc7df2746
commit
4bcb6c0ec6
@ -26,6 +26,7 @@ from homeassistant.const import (
|
||||
PRESSURE_HPA,
|
||||
SPEED_KILOMETERS_PER_HOUR,
|
||||
TEMP_CELSIUS,
|
||||
UV_INDEX,
|
||||
)
|
||||
|
||||
DOMAIN = "meteo_france"
|
||||
@ -110,7 +111,7 @@ SENSOR_TYPES = {
|
||||
},
|
||||
"uv": {
|
||||
ENTITY_NAME: "UV",
|
||||
ENTITY_UNIT: None,
|
||||
ENTITY_UNIT: UV_INDEX,
|
||||
ENTITY_ICON: "mdi:sunglasses",
|
||||
ENTITY_DEVICE_CLASS: None,
|
||||
ENTITY_ENABLE: True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user