mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Add icon translations to Ondilo ico (#111990)
This commit is contained in:
parent
f3e0060128
commit
10c06a1553
21
homeassistant/components/ondilo_ico/icons.json
Normal file
21
homeassistant/components/ondilo_ico/icons.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"oxydo_reduction_potential": {
|
||||||
|
"default": "mdi:pool"
|
||||||
|
},
|
||||||
|
"ph": {
|
||||||
|
"default": "mdi:pool"
|
||||||
|
},
|
||||||
|
"tds": {
|
||||||
|
"default": "mdi:pool"
|
||||||
|
},
|
||||||
|
"rssi": {
|
||||||
|
"default": "mdi:wifi"
|
||||||
|
},
|
||||||
|
"salt": {
|
||||||
|
"default": "mdi:pool"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -43,20 +43,17 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
|||||||
key="orp",
|
key="orp",
|
||||||
translation_key="oxydo_reduction_potential",
|
translation_key="oxydo_reduction_potential",
|
||||||
native_unit_of_measurement=UnitOfElectricPotential.MILLIVOLT,
|
native_unit_of_measurement=UnitOfElectricPotential.MILLIVOLT,
|
||||||
icon="mdi:pool",
|
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="ph",
|
key="ph",
|
||||||
translation_key="ph",
|
translation_key="ph",
|
||||||
icon="mdi:pool",
|
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="tds",
|
key="tds",
|
||||||
translation_key="tds",
|
translation_key="tds",
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
||||||
icon="mdi:pool",
|
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
@ -68,7 +65,6 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
|||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="rssi",
|
key="rssi",
|
||||||
translation_key="rssi",
|
translation_key="rssi",
|
||||||
icon="mdi:wifi",
|
|
||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
@ -76,7 +72,6 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
|||||||
key="salt",
|
key="salt",
|
||||||
translation_key="salt",
|
translation_key="salt",
|
||||||
native_unit_of_measurement="mg/L",
|
native_unit_of_measurement="mg/L",
|
||||||
icon="mdi:pool",
|
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user