Add icon translations to Watttime (#112351)
parent
d0a66b3265
commit
4fcc446255
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"marginal_operating_emissions_rate": {
|
||||
"default": "mdi:blur"
|
||||
},
|
||||
"relative_marginal_emissions_intensity": {
|
||||
"default": "mdi:blur"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -38,14 +38,12 @@ REALTIME_EMISSIONS_SENSOR_DESCRIPTIONS = (
|
|||
SensorEntityDescription(
|
||||
key=SENSOR_TYPE_REALTIME_EMISSIONS_MOER,
|
||||
translation_key="marginal_operating_emissions_rate",
|
||||
icon="mdi:blur",
|
||||
native_unit_of_measurement=f"{UnitOfMass.POUNDS} CO2/MWh",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key=SENSOR_TYPE_REALTIME_EMISSIONS_PERCENT,
|
||||
translation_key="relative_marginal_emissions_intensity",
|
||||
icon="mdi:blur",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue