Référence des composants
Champs communs
Chaque widget exige un id unique dans le tableau et un type. Les widgets avec état utilisent entity ou entity_id. Champs communs : title, icon, theme/theme_override, condition/visibility/show_if, row, col, rowspan/row_span, colspan/col_span, cell_width/column_width, cell_height/row_height, cell_aspect_ratio, min_height, gap, margin.
Types et alias
| Famille | Types canoniques et alias |
|---|---|
| Commande | button, switch, light, cover, fan, climate, thermostat, select, entity_select, textfield |
| Information | label, clock, datetime, calendar, history_graph, sensor_graph, graph, mini_graph_card, horizon_card, weather_chart |
| Médias | media_player, media, picture, image, camera, video, immich_slideshow, immich_clock |
| Disposition | grid, blank, tabbed_card, auto_entities, flex_table |
| Voix | assist_button, voice_assistant_button, push_to_talk |
Les alias kebab et Lovelace custom:mini-graph-card, custom:horizon-card, custom:weather-chart-card, custom:auto-entities, custom:flex-table-card, custom:tabbed-card, photo_frame et photo_clock restent pris en charge.
Actions et sécurité
Un widget ne peut pas envoyer n’importe quel service HA. L’intégration n’autorise que les opérations typées du domaine configuré : button.press ; marche, arrêt et bascule des lumières/interrupteurs ; position des volets ; ventilateur, climat et sélection ; commande média. Les types inconnus restent intacts dans l’éditeur visuel mais l’application affiche un avis jusqu’à l’existence d’un rendu natif.