mariusz-ostoja-swierczynski / tech-controllers

TECH Controllers integration for Home Assistant
MIT License
96 stars 67 forks source link

Entity is not created if tile is not listed in initial `modules` API call but shows up later #131

Open jakublipinski opened 1 week ago

jakublipinski commented 1 week ago

I have the following situation with my Defro: ST-9724 1.6.1 P01 (v.3.3.5) pellet stove. When I launch emodule.eu site / eModule mobile app I can see the tiles:

image

After several seconds a new tile "DHW temperature" shows up: image

If I integrate such module with Home Assistant there is no "DHW temperature" entity. It was not listed during module API call so the appropriate TileTemperatureSensor entity was not created. The tile shows up during regular updates but since there is not entity the data is not reported.

I made a workaround and manually add the entity during setup.

I wonder if such situation happens for others. I can try implement it properly but need some guidance on how to approach it.

daroga0002 commented 1 week ago

Maybe this is related to following discussion https://github.com/mariusz-ostoja-swierczynski/tech-controllers/discussions/129