Shelly MQTT device (not only entities)

Hi all,

Off topic
I am new of home assistant but I think that it is really great, so first of all I want to thank all of you which allows this community to grow up :slight_smile:

I am not able to create a device for a Shelly 2.5 via MQTT, but just a cover entity. I have my shellies discovered via the integrated Shelly discovery, but I would like to use MQTT.

I configured a 2.5 shelly MQTT with Custom MQTT prefix: myroller

I include a cover config in configuration.yaml:

cover: !include covers.yaml

My config for the cover is:

- platform: mqtt
  name: "My roller mqtt"
  command_topic: "shellies/myroller/roller/0/command"
  position_topic: "shellies/myroller/roller/0/pos"
  set_position_topic: "shellies/myroller/roller/0/command/pos"
  availability_topic: "shellies/myroller/online"
  payload_available: "true"
  payload_not_available: "false"
  retain: false
  payload_open: "open"
  payload_close: "close"
  payload_stop: "stop"
  position_open: 100
  position_closed: 0
  optimistic: false
  qos: 0

Clearly an entity with cover is displayed, but:

  1. how can I create a device so that I can add this roller to an β€œArea”?
  2. how can I add other entities (such as temperature sensor) to this MQTT device at point 1?

Thanks for the help :slight_smile:

Hello all, I have the same wish, to have all mqtt connected shellies as devices.
Would it be possible?