Skip to content

[Feature request]: Support Home Assistant's notify component for cluster commands #27170

Open
@slyglif

Description

@slyglif

Is your feature request related to a problem? Please describe

When trying to send a cluster command from HA, it is currently required that the user lookup or in some other way know what mqtt topic to send the command to, and then manually pass that topic to the mqtt.publish action. Having to lookup these topic strings manually is painful, especially if there are a lot of devices you want to send cluster commands to.

An example would be sending the Individual LED Effect cluster command to an Inovelli 2-1 Dimmer.

Describe the solution you'd like

HA has an mqtt notify entity type. If Z2M published a notify entity for each device's cluster commands, it would simplify the process for HA users so they wouldn't have to look up the topic to send to. Users would still need to know the format of the command to send, but that would be a lot less work. In the case of the Individual LED Effect, there is currently a sensor for it, but adding the corresponding notify entity would make it possibly to easily send the command.

Describe alternatives you've considered

All the alternatives I've come up with require modifying HA and/or the MQTT integration itself to expose an additional attribute on the entity with the topic to send notifications to. Neither of these seem like a good way to encapsulate the data.

Additional context

N/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions