Add a MQTT entity to an existing Homematic device

Hi,

I managed to define a MQTT entity in my configuration.yaml

mqtt:
  sensor:
    - name: "EG/Bad/Verschluss/Fenster.rechts/state/opensince"
      unique_id: "mqtt.sensor.eg/bad/verschluss/fenster.rechts/state/opensince"
      state_topic: "EG/Bad/Verschluss/Fenster.rechts/state/opensince"

That works as expected.

This sensor reads the time in minutes, since a specific window in my bathroom is open. The according window is represented as Homematic device with one entity: sensor for open/close.

Is it possible to connect the MQTT entity with the Homematic device as a second entity?

Unfortunately, no.

1 Like

Thanks for your answer, even when it was not what I hoped to read.