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
|
@ -54,7 +54,6 @@ SENSORS = (
|
|||
key="ptz_pan_position",
|
||||
cmd_key="GetPtzCurPos",
|
||||
translation_key="ptz_pan_position",
|
||||
icon="mdi:pan",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
value=lambda api, ch: api.ptz_pan_position(ch),
|
||||
|
@ -67,7 +66,6 @@ HOST_SENSORS = (
|
|||
key="wifi_signal",
|
||||
cmd_key="GetWifiSignal",
|
||||
translation_key="wifi_signal",
|
||||
icon="mdi:wifi",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue