Add icon translations to Reolink (#112208)
* Add icon translations to Reolink * Fix * Update homeassistant/components/reolink/icons.json Co-authored-by: starkillerOG <starkiller.og@gmail.com> * Update homeassistant/components/reolink/icons.json --------- Co-authored-by: starkillerOG <starkiller.og@gmail.com>
This commit is contained in:
parent
2599252600
commit
09b1b40833
9 changed files with 260 additions and 89 deletions
|
@ -43,7 +43,6 @@ LIGHT_ENTITIES = (
|
|||
key="floodlight",
|
||||
cmd_key="GetWhiteLed",
|
||||
translation_key="floodlight",
|
||||
icon="mdi:spotlight-beam",
|
||||
supported=lambda api, ch: api.supported(ch, "floodLight"),
|
||||
is_on_fn=lambda api, ch: api.whiteled_state(ch),
|
||||
turn_on_off_fn=lambda api, ch, value: api.set_whiteled(ch, state=value),
|
||||
|
@ -54,7 +53,6 @@ LIGHT_ENTITIES = (
|
|||
key="status_led",
|
||||
cmd_key="GetPowerLed",
|
||||
translation_key="status_led",
|
||||
icon="mdi:lightning-bolt-circle",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
supported=lambda api, ch: api.supported(ch, "power_led"),
|
||||
is_on_fn=lambda api, ch: api.status_led_enabled(ch),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue