[ { "id": "9b73b619-98d7-4719-8886-ce48c1d7726c", "result": { "structured": "TRIGGER: When Home Assistant starts OR at 06:32:00 OR at 16:32:00 OR every 5 minutes. CONDITIONS: (Trigger is Home Assistant start) OR (Trigger is 06:32:00) OR (Trigger is 16:32:00) OR (Trigger is every 5 minutes AND meteo france alertes image today [sensor.meteo_france_alertes_image_today] is unavailable) OR (Trigger is every 5 minutes AND meteo france alertes image tomorrow [sensor.meteo_france_alertes_image_tomorrow] is unavailable). ACTIONS: Update meteo france alertes image today [sensor.meteo_france_alertes_image_today]; Update meteo france alertes image tomorrow [sensor.meteo_france_alertes_image_tomorrow]; Wait 5 seconds; Repeat once: If meteo france alertes image today [sensor.meteo_france_alertes_image_today] is unavailable, then update it and wait 5 seconds; Repeat once: If meteo france alertes image tomorrow [sensor.meteo_france_alertes_image_tomorrow] is unavailable, then update it and wait 5 seconds; Update mf alerte today [camera.mf_alerte_today] and mf alerte tomorrow [camera.mf_alerte_tomorrow]; Wait 5 seconds; Update meteo france alertes 55 [sensor.meteo_france_alertes_55].", "natural_language": { "trigger": "The automation triggers when Home Assistant starts, at 06:32, at 16:32, or every 5 minutes.", "conditions": "The automation runs if the trigger is the Home Assistant start event, the 06:32 time, the 16:32 time, or if the trigger is the 5-minute pattern and either the meteo france alertes image today [sensor.meteo_france_alertes_image_today] is unavailable, or the meteo france alertes image tomorrow [sensor.meteo_france_alertes_image_tomorrow] is unavailable.", "action": "The automation updates the weather alert sensors and cameras. First, it updates the 'today' and 'tomorrow' image sensors. After a 5-second delay, it checks the 'today' sensor and updates it again if it's still unavailable, waiting another 5 seconds. It then does the same check and update for the 'tomorrow' sensor. Next, it updates the 'today' and 'tomorrow' alert cameras. After another 5-second delay, it finally updates the 'meteo france alertes 55' sensor." }, "human_like": "This automation keeps the Météo France weather alert information up to date by refreshing the sensors and cameras at specific times and whenever the data is missing.", "complexity": "medium" } }, { "id": "bcf16b90-ce5f-404a-8689-b20882323e44", "result": { "structured": "TRIGGER: Every 5 minutes (time pattern). CONDITIONS: meteo france alertes 55 [sensor.meteo_france_alertes_55] is in state unknown. ACTIONS: Update entity meteo france alertes 55 [sensor.meteo_france_alertes_55].", "natural_language": { "trigger": "The automation runs every 5 minutes.", "conditions": "The sensor meteo france alertes 55 [sensor.meteo_france_alertes_55] must be in an unknown state.", "action": "It attempts to refresh the data for the sensor meteo france alertes 55 [sensor.meteo_france_alertes_55] by triggering an entity update." }, "human_like": "Checks every 5 minutes if the weather alert sensor is unavailable and tries to refresh it.", "complexity": "low" } } ]