Skip to content

Tuya TS0042

Tuya TS0042

  • Manufacturer: Tuya
  • Device ID: TS0042
  • Controller types: Light (TS0042LightController)
  • Integrations: ZHA (zha)

Build the configuration for this device

Light

  • Class: TS0042LightController
  • Entity parameter: light
  • Default delay: 350ms

Default mapping

Each row shows the events fired by the device for each integration and the predefined action they trigger by default. You can change it with a custom mapping.

ZHA Predefined action
1_remote_button_short_press on
1_remote_button_double_press click_brightness_up
1_remote_button_long_press on_full_brightness
2_remote_button_short_press off
2_remote_button_double_press on_min_brightness

Example configuration

example_app:
  module: controllerx
  class: TS0042LightController
  integration: zha
  controller: 00:11:22:33:44:55:66:77:88
  light: light.my_entity_id