Add localtuya.set_dp service (#236)

This commit is contained in:
Pierre Ståhl
2020-12-15 09:36:34 +01:00
committed by GitHub
parent 10e55e67b4
commit e7d58be91c
3 changed files with 60 additions and 13 deletions

View File

@@ -1,2 +1,15 @@
reload:
description: Reload localtuya and re-process yaml configuration.
set_dp:
description: Change the value of a datapoint (DP)
fields:
device_id:
description: Device ID of device to change datapoint value for
example: 11100118278aab4de001
dp:
description: Datapoint index
example: 1
value:
description: New value to set
example: False