Reolink only fetch data for enabled entities (#104157)
This commit is contained in:
parent
a3dd2b8ea9
commit
381036e46a
7 changed files with 63 additions and 1 deletions
|
@ -52,6 +52,7 @@ class ReolinkHostSensorEntityDescription(
|
|||
SENSORS = (
|
||||
ReolinkSensorEntityDescription(
|
||||
key="ptz_pan_position",
|
||||
cmd_key="GetPtzCurPos",
|
||||
translation_key="ptz_pan_position",
|
||||
icon="mdi:pan",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
@ -64,6 +65,7 @@ SENSORS = (
|
|||
HOST_SENSORS = (
|
||||
ReolinkHostSensorEntityDescription(
|
||||
key="wifi_signal",
|
||||
cmd_key="GetWifiSignal",
|
||||
translation_key="wifi_signal",
|
||||
icon="mdi:wifi",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue