I try to smartify my Viessmann heater (WO1B) and have it discovered by MQTT autodiscovery.
I advertise binarl sensors to topic
homeassistant/binary_sensor/Vito/Vito_Status_Verdichter/config:
and other sensors to
homeassistant/sensor/Vito/Vito_Leistung/config
Both are of device class “power” so one is displayed with a flash icon and the other one with a plug.
But they show up in different groups. One goes to a group “binary_sensors”, the other one to “sensors”.
What can I do to have them all in the same group ?
Here are the configs I post to MQTT
topic:homeassistant/binary_sensor/Vito/Vito_Status_Verdichter/config:
{
"name": "Vito_Status_Verdichter",
"unique_id": "Vito_Vito_Status_Verdichter",
"device": {
"identifiers": "heater",
"name": "Viessmann WO1B",
"sw_version": "1.0",
"model": "WO1B",
"manufacturer": "Viessmann"
},
"device_class": "power",
"unit_of_measurement": "",
"state_topic": "homeassistant/binary_sensor/Vito/Vito_Status_Verdichter/state",
"availability_topic": "homeassistant/binary_sensor/Vito/available",
"payload_available": "online",
"payload_not_available": "offline"
}
topic: homeassistant/sensor/Vito/Vito_Leistung/config
{
"name": "Vito_Leistungsaufnahme",
"unique_id": "Vito_Vito_Leistungsaufnahme",
"device": {
"identifiers": "heater",
"name": "Viessmann WO1B",
"sw_version": "1.0",
"model": "WO1B",
"manufacturer": "Viessmann"
},
"device_class": "power",
"unit_of_measurement": "kW",
"state_topic": "homeassistant/sensor/Vito/Vito_Leistungsaufnahme/state",
"availability_topic": "homeassistant/sensor/Vito/available",
"payload_available": "online",
"payload_not_available": "offline"
}