mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Add icon translations to Rachio (#112195)
This commit is contained in:
parent
982dab3849
commit
2ae90d5eed
19
homeassistant/components/rachio/icons.json
Normal file
19
homeassistant/components/rachio/icons.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"entity": {
|
||||||
|
"switch": {
|
||||||
|
"standby": {
|
||||||
|
"default": "mdi:power"
|
||||||
|
},
|
||||||
|
"rain_delay": {
|
||||||
|
"default": "mdi:camera-timer"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"services": {
|
||||||
|
"set_zone_moisture_percent": "mdi:water-percent",
|
||||||
|
"start_multiple_zone_schedule": "mdi:play",
|
||||||
|
"pause_watering": "mdi:pause",
|
||||||
|
"resume_watering": "mdi:play",
|
||||||
|
"stop_watering": "mdi:stop"
|
||||||
|
}
|
||||||
|
}
|
@ -198,7 +198,6 @@ class RachioStandbySwitch(RachioSwitch):
|
|||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
_attr_translation_key = "standby"
|
_attr_translation_key = "standby"
|
||||||
_attr_icon = "mdi:power"
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def unique_id(self) -> str:
|
def unique_id(self) -> str:
|
||||||
@ -242,7 +241,6 @@ class RachioRainDelay(RachioSwitch):
|
|||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
_attr_translation_key = "rain_delay"
|
_attr_translation_key = "rain_delay"
|
||||||
_attr_icon = "mdi:camera-timer"
|
|
||||||
|
|
||||||
def __init__(self, controller):
|
def __init__(self, controller):
|
||||||
"""Set up a Rachio rain delay switch."""
|
"""Set up a Rachio rain delay switch."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user