We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dada3f4 commit 5302f85Copy full SHA for 5302f85
custom_components/localtuya/core/ha_entities/base.py
@@ -421,6 +421,7 @@ class DPCode(StrEnum):
421
PRM_CONTENT = "prm_content"
422
PRM_TEMPERATURE = "prm_temperature"
423
PTZ_CONTROL = "ptz_control"
424
+ PTZ_STOP = "ptz_stop"
425
PUMP_RESET = "pump_reset" # Water pump reset
426
RECORD_MODE = "record_mode"
427
RECORD_SWITCH = "record_switch" # Recording switch
custom_components/localtuya/core/ha_entities/switches.py
@@ -605,6 +605,12 @@
605
icon="mdi:motion-sensor",
606
entity_category=EntityCategory.CONFIG,
607
),
608
+ LocalTuyaEntity(
609
+ id=DPCode.PTZ_STOP,
610
+ name="PTZ Stop",
611
+ icon="mdi:stop-circle",
612
+ entity_category=EntityCategory.CONFIG,
613
+ ),
614
615
# Fingerbot
616
"szjqr": (
0 commit comments