Skip to content

Trust ZYCT202

Trust ZYCT202

Build the configuration for this device

Light

  • Class: ZYCT202LightController
  • 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.

Zigbee2MQTT Predefined action
"on" on
up-press hold_brightness_up
down-press hold_brightness_down
"off" off
stop release

Example configuration

example_app:
  module: controllerx
  class: ZYCT202LightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: light.my_entity_id
example_app:
  module: controllerx
  class: ZYCT202LightController
  integration:
    name: z2m
    listen_to: event
  controller: my_controller_action
  light: light.my_entity_id

Zigbee2MQTT Light

  • Class: ZYCT202Z2MLightController
  • Entity parameter: light

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.

Zigbee2MQTT Predefined action
"on" on
up-press hold_brightness_up
down-press hold_brightness_down
"off" off
stop release

Example configuration

example_app:
  module: controllerx
  class: ZYCT202Z2MLightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: my_entity_id
example_app:
  module: controllerx
  class: ZYCT202Z2MLightController
  integration:
    name: z2m
    listen_to: event
  controller: my_controller_action
  light: my_entity_id

Media Player

  • Class: ZYCT202MediaPlayerController
  • Entity parameter: media_player
  • Default delay: 500ms

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.

Zigbee2MQTT Predefined action
"on", "off" play_pause
up-press hold_volume_up
down-press hold_volume_down
stop release

Example configuration

example_app:
  module: controllerx
  class: ZYCT202MediaPlayerController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  media_player: media_player.my_entity_id
example_app:
  module: controllerx
  class: ZYCT202MediaPlayerController
  integration:
    name: z2m
    listen_to: event
  controller: my_controller_action
  media_player: media_player.my_entity_id