@pw44 The HA integrations page has useful information of how it al works together, check the presentation paragraph as it is important in HA.
The node sketch shall make use of these defs for HA. Is it right?
So, on a node sensor, i can have from 0 to 255 child_id's, each with it's name. But how to give a name for each child, if more than one sensor is connected to the node?
The name can me customized in the presentation function in the description field:
https://www.mysensors.org/apidocs/group__MySensorsCoregrp.html#gaef20c35998db495bd4c85bac42a7ad49
bool present ( const uint8_t sensorId,
const mysensors_sensor_t sensorType,
const char * description = "",
const bool requestEcho = false
)
Is this all right? if not, please educate me in the right way.
And i'm also getting the following:
This entity does not have a unique ID, therefore its settings cannot be managed from the UI.
Any hint?
This is a normal error in current versions of HA, the mysensors integration is still manual via YAML and cannot be managed from the HA FrontEnd.