Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: ZHA - Tuya - TS004F Smart Knob - Custom Actions
description: >-
This automation adds triggers for all actions of the Tuya TS004F rotary knob remote.
It can be used in both Command/Dimmer mode and Event/Scene mode. Both modes have their own actions.
In Command/Dimmer mode, the configuration is mostly internal except for button press.
In Event/Scene mode, you can select your own actions.
To switch between modes, you can quickly press the button 3 times.