(#198) Helios surfaces in HA's 'By entity' tab under Zone
HeliosCard.getStubConfig now matches the (hass, entities) signature HA's <hui-card-picker> uses for the new 'By entity' / 'Par entité' tab. When the user clicks a zone entity in that tab:
- The picker passes the entity to our stub method.
- We read its
latitude+longitudeattributes and return a config withhome-latitude+home-longitudebaked in. - Helios surfaces in the zone's suggestion list with the coords pre-filled, one tap to add.
Empty entity list still returns {} so the 'Toutes les cartes' tab keeps working the way it did, and the runtime falls back to hass.config.latitude / longitude as before for users who add the card the old way.
Closes #198.
Beta channel. Install via HACS (enable "Show beta versions" on the Helios repo) or copy
helios.jsfrom this release directly into/config/www/community/Helios/.