Skip to main content

Controller - Aqara WXKG13LM Wireless Mini Switch T1

Import this blueprint

My Home Assistant

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.


tip

This blueprint is part of the Controllers-Hooks Ecosystem. You can read more about this topic here.

Description​

This blueprint provides universal support for running any custom action when a button is pressed on the provided Aqara WXKG13LM Wireless Mini Switch T1. Supports controllers integrated with Zigbee2MQTT. The blueprint will automagically detect the integration type and take care of all the rest.

In addition of being able to provide custom actions for every kind of button press supported by the remote, the blueprint allows to loop the long press actions while the corresponding button is being held. Once released, the loop stops. This is useful when holding down a button should result in a continuous action (such as controlling a light brightness or lowering the volume of a media player).

tip

Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with lights, media players, covers and more. See the list of Hooks available for this controller for additional details.

Requirements​

Zigbee2MQTT Integration

Optional

If you plan to integrate the with Zigbee2MQTT, you must have this integration set up. Installation methods differ between different installation types. Check out the documentation for full details on the required hardware and how to set up Zigbee2MQTT on your system.

Zigbee2MQTT Docs

Inputs​

Available Hooks​

Light​

This Hook blueprint allows to build a controller-based automation to control a light. Supports brightness and color control both for white temperature and rgb lights.

Default Mapping​

  • Button short press -> Toggle
  • Button double press -> Brightness up
  • Button triple press -> Brightness down
  • Button long press -> Brightness up (continuous, until release)

Light Hook docs

Media Player​

This Hook blueprint allows to build a controller-based automation to control a media player. Supports volume setting, play/pause and track selection.

Default Mapping​

  • Button short press -> Play pause
  • Button double press -> Next track
  • Button triple press -> Previous track
  • Button long press -> Stop

Media Player Hook docs

Cover​

This Hook blueprint allows to build a controller-based automation to control a cover. Supports opening, closing and tilting the cover.

Default Mapping​

  • Button short press -> Open cover
  • Button double press -> Close cover
  • Button long press -> Stop cover and cover tilt

Cover Hook docs

Additional Notes​

Multiple button presses​

Please note that although this blueprint provides support for the controllers single [1], double [2], triple [3], quadruple [4], quintuple [5] and many [more than 5] button presses. In practicle use, it is found that beyond triple [3] presses, results may vary.

Changelog​

  • 2025-xx-xx: Initial release. (@yarafie) 🎉