Hi,
I’m trying to make some app which will integrate with Home Assistant. I connect to my HA by WebSocket API and if I get some device (for example Xiaomi Air Purifier) i get only one entity. I check this in settings of my HA and that would be right. In devices tab I have only 1 entity which is a switch (on/off).
But in YAML I configured many custom sensor and switches for AirPurifier.
Can i somehow connect them? In such a way that my custom sensors would be connected to a specific devices.