Add icon translations to Rainforest Raven (#112201)

This commit is contained in:
Joost Lekkerkerker 2024-03-05 08:42:45 +01:00 committed by GitHub
parent 4cb8df0951
commit cb3c7f6b0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,12 @@
{
"entity": {
"sensor": {
"signal_strength": {
"default": "mdi:wifi"
},
"meter_price": {
"default": "mdi:cash"
}
}
}
}

View File

@ -70,7 +70,6 @@ DIAGNOSTICS = (
key="link_strength",
native_unit_of_measurement=PERCENTAGE,
state_class=SensorStateClass.MEASUREMENT,
icon="mdi:wifi",
entity_category=EntityCategory.DIAGNOSTIC,
attribute_keys=[
"channel",
@ -104,7 +103,6 @@ async def async_setup_entry(
translation_key="meter_price",
key="price",
native_unit_of_measurement=f"{meter_data['PriceCluster']['currency'].value}/{UnitOfEnergy.KILO_WATT_HOUR}",
icon="mdi:cash",
state_class=SensorStateClass.MEASUREMENT,
attribute_keys=[
"tier",