mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
Add icon translations to Rainforest Raven (#112201)
This commit is contained in:
parent
4cb8df0951
commit
cb3c7f6b0a
12
homeassistant/components/rainforest_raven/icons.json
Normal file
12
homeassistant/components/rainforest_raven/icons.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"entity": {
|
||||
"sensor": {
|
||||
"signal_strength": {
|
||||
"default": "mdi:wifi"
|
||||
},
|
||||
"meter_price": {
|
||||
"default": "mdi:cash"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user