Skip to content

ZYCT202

Picture Controller types Integrations
  • Zigbee2MQTT (z2m)

Light

Class: ZYCT202LightController

Default delay: 350ms

Default mapping:

Zigbee2MQTT Predefined actions
"on" on
up-press hold_brightness_up
down-press hold_brightness_down
"off" off
stop release
example_app:
  module: controllerx
  class: ZYCT202LightController
  integration: z2m
  controller: sensor.my_controller_action
  light: light.my_entity_id
example_app:
  module: controllerx
  class: ZYCT202LightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: light.my_entity_id

Zigbee2MQTT Light

Class: ZYCT202Z2MLightController

Default mapping:

Zigbee2MQTT Predefined actions
"on" on
up-press hold_brightness_up
down-press hold_brightness_down
"off" off
stop release
example_app:
  module: controllerx
  class: ZYCT202Z2MLightController
  integration: z2m
  controller: sensor.my_controller_action
  light: my_entity_id
example_app:
  module: controllerx
  class: ZYCT202Z2MLightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: my_entity_id

Media Player

Class: ZYCT202MediaPlayerController

Default delay: 500ms

Default mapping:

Zigbee2MQTT Predefined actions
"on", "off" play_pause
up-press hold_volume_up
down-press hold_volume_down
stop release
example_app:
  module: controllerx
  class: ZYCT202MediaPlayerController
  integration: z2m
  controller: sensor.my_controller_action
  media_player: media_player.my_entity_id
example_app:
  module: controllerx
  class: ZYCT202MediaPlayerController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  media_player: media_player.my_entity_id