I had to make some manual changes in the code because zigbee2mqtt in my setup is not using the default zigbee2mqtt topic.
If it's not too much of a hassle I'd really like use your upstream code without changing the hardcoded mqtt topic.
Configure the zigbee2mqtt topic from the app.yaml file by adding a new configuration option in the integration settings:
sound_controller_bedroom:
module: controllerx
class: E1744MediaPlayerController
controller: sound_controller_bedroom
integration:
name: z2m
listen_to: mqtt
topic_prefix: some/other/topic/for/zigbee2mqtt
action_key: action
media_player: media_player.sonos_bedroom
Changing the hardcoded topic in /controllerx/cx_core/integration/z2m.py
This has been released in ControllerX v3.5.0
Hi' @fliphess
Was going to ask Xavi for exact this feature, as my Tasmota wall switches MQTT communication with ControllerX/HA doesn't really belong in the zigbee2mqtt topic.
Thank you ! 馃槉
Ciao !
Most helpful comment
This has been released in ControllerX v3.5.0