Integrate Shelly EM with MQTT

Hello,

I have a HA working with some of Zigbee device with zigbee2mqtt. This is how I have configured the HA side:

discovery: true
broker: 127.0.0.1
port: 1883
client_id: HomeAssistant
username: myuser
password: mypass
birth_message:
  topic: 'hass/status'
  payload: 'online'
will_message:
  topic: 'hass/status'
  payload: 'offline'

With this configuration all my Zigbee device are auto discovered in HA.

Now, I add a Shelly EM device, and want to integrate with MQTT, there is device data in the broker:

$ mosquitto_sub -v -h myIP -p 1883 -u myuser -P mypass -t 'shellies/shellyem-XXXXXXXXXXXX/emeter/0/power'
shellies/shellyem-XXXXXXXXXXXX/emeter/0/power 423.61
shellies/shellyem-XXXXXXXXXXXX/emeter/0/power 421.26

But there is no any new device in the HA, need I configure something else? I will appreciate your help.

Kind regards.

Is there any reason you are not using the core Shelly integration?

It is local push and works very well.

Thanks for the reply,

There is no reason, I just want to configure with MQTT.

Regards.

Then I recommend you use the core integration.

Otherwise you have to manually add all the mqtt entities.