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:
Joost Lekkerkerker 2024-03-06 11:02:13 +01:00 committed by GitHub
parent 2599252600
commit 09b1b40833
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 260 additions and 89 deletions

View file

@ -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),