Node get template nodered

Mon problème

Depuis le passage à HA 2022.6, les templates de node red sont en erreur.
Voici mon flow :

[{"id":"27f079f9.1f86b6","type":"inject","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":300,"wires":[["58b0ba00.bd9654","278e1a81.c28a56","e0ee8440.c8a9e8","27157fc1.c3ef9","31349e21.499a72"]]},{"id":"58b0ba00.bd9654","type":"api-render-template","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Fajr","server":"7d1bc7dc.dcdfe8","version":0,"template":"{{ as_timestamp(strptime(states(\"sensor.time_date\"), \"%H:%M, %Y-%m-%d\")) == as_timestamp(strptime(states(\"sensor.fajr_prayer\"), \"%Y-%m-%dT%H:%M:%S\")) }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":350,"y":80,"wires":[["30c7609f.de724","e73432ae.91075"]]},{"id":"30c7609f.de724","type":"switch","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Fajr True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":520,"y":80,"wires":[["80cf17d1.f123d8"]]},{"id":"80cf17d1.f123d8","type":"delay","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":720,"y":80,"wires":[["3fe6197fe158f68f"]]},{"id":"e73432ae.91075","type":"debug","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":120,"wires":[]},{"id":"278e1a81.c28a56","type":"api-render-template","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Dhuhr","server":"7d1bc7dc.dcdfe8","version":0,"template":"{{ as_timestamp(strptime(states(\"sensor.time_date\"), \"%H:%M, %Y-%m-%d\")) == as_timestamp(strptime(states(\"sensor.dhuhr_prayer\"), \"%Y-%m-%dT%H:%M:%S\")) }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":350,"y":180,"wires":[["7e225537.80c2fc","806ed39f.700f6"]]},{"id":"e0ee8440.c8a9e8","type":"api-render-template","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Asr","server":"7d1bc7dc.dcdfe8","version":0,"template":"{{ as_timestamp(strptime(states(\"sensor.time_date\"), \"%H:%M, %Y-%m-%d\")) == as_timestamp(strptime(states(\"sensor.asr_prayer\"), \"%Y-%m-%dT%H:%M:%S\")) }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":350,"y":280,"wires":[["50845f7.84706a","5f3ca9b5.55be28"]]},{"id":"27157fc1.c3ef9","type":"api-render-template","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Maghrib","server":"7d1bc7dc.dcdfe8","version":0,"template":"{{ as_timestamp(strptime(states(\"sensor.time_date\"), \"%H:%M, %Y-%m-%d\")) == as_timestamp(strptime(states(\"sensor.maghrib_prayer\"), \"%Y-%m-%dT%H:%M:%S\")) }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":340,"y":400,"wires":[["ff5c6ac.7219f98","ce389b3e.157fe8"]]},{"id":"31349e21.499a72","type":"api-render-template","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Isha","server":"7d1bc7dc.dcdfe8","version":0,"template":"{{ as_timestamp(strptime(states(\"sensor.time_date\"), \"%H:%M, %Y-%m-%d\")) == as_timestamp(strptime(states(\"sensor.isha_prayer\"), \"%Y-%m-%dT%H:%M:%S\")) }}","resultsLocation":"payload","resultsLocationType":"msg","templateLocation":"template","templateLocationType":"msg","x":350,"y":500,"wires":[["6d406559.ad6fcc","473857c9.3ab7b8"]]},{"id":"7e225537.80c2fc","type":"switch","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Dhuhr True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":530,"y":180,"wires":[["8886246.d8038d8"]]},{"id":"806ed39f.700f6","type":"debug","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":220,"wires":[]},{"id":"50845f7.84706a","type":"switch","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Asr True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":520,"y":280,"wires":[["506eb640.6cda18"]]},{"id":"5f3ca9b5.55be28","type":"debug","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":320,"wires":[]},{"id":"ff5c6ac.7219f98","type":"switch","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Maghrib True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":530,"y":400,"wires":[["5a648805.aa7ba8"]]},{"id":"ce389b3e.157fe8","type":"debug","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":440,"wires":[]},{"id":"6d406559.ad6fcc","type":"switch","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"Isha True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":520,"y":500,"wires":[["103f417.129a7bf"]]},{"id":"473857c9.3ab7b8","type":"debug","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":540,"wires":[]},{"id":"8886246.d8038d8","type":"delay","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":720,"y":180,"wires":[["a4e96a52.58f7c8"]]},{"id":"506eb640.6cda18","type":"delay","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":720,"y":280,"wires":[["a4e96a52.58f7c8"]]},{"id":"5a648805.aa7ba8","type":"delay","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":720,"y":400,"wires":[["a4e96a52.58f7c8"]]},{"id":"103f417.129a7bf","type":"delay","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":720,"y":500,"wires":[["a4e96a52.58f7c8"]]},{"id":"a4e96a52.58f7c8","type":"cast-to-client","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","url":"https://google.fr/local/sounds/azzan.mp3","contentType":"audio/mp4","message":"","language":"fr","ip":"10.0.0.12","port":"","volume":"18","x":1020,"y":260,"wires":[[]],"icon":"node-red-contrib-cast/google-home1.svg"},{"id":"3fe6197fe158f68f","type":"cast-to-client","z":"827f281b55069d67","g":"7f4bcc21.5f9c34","name":"","url":"https://google.fr/local/sounds/azzan.mp3","contentType":"audio/mp4","message":"","language":"fr","ip":"10.0.0.12","port":"","volume":"8","x":1020,"y":80,"wires":[[]],"icon":"node-red-contrib-cast/google-home1.svg"},{"id":"7d1bc7dc.dcdfe8","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30"}]

L’erreur générée est : Error get-template: Request failed with status code 400

Ma configuration



Salut.
Je me suis permis d’éditer ton flow pour virer ton domaine (dans le cast du mp3)

Par ailleurs je pense qu’il faut que tu adaptes la nouvelle norme des templates notamment as_timestamp avec les valeurs par défaut

{{ as_timestamp(strptime(states("sensor.time_date"), "%H:%M, %Y-%m-%d")) == as_timestamp(strptime(states("sensor.fajr_prayer"), "%Y-%m-%dT%H:%M:%S")) }}

Pleins d’info là https://forum.hacf.fr/t/mise-a-jour-2022-06-01-attention-avant-de-migrer/11554

Grâce au noeud time (Time | node-red-contrib-home-assistant-websocket) de la palette Nodered, qui permet de déclencher un flot à l’heure contenu dans une entité de HA, plus besoin de ce calcul de template…
Donc, pas la peine de corriger la template. Juste la supprimer.

1 « J'aime »

Merci pour vos réponses je teste demain et ferai un retour.

Le remplacement par des noeuds Time n’a pas fonctionné.


Ai je manqué quelque chose dans la configuration ?

C’est à dire?

Il faudrait:

  • poster le flot exact
  • tester avec un noeud debug voir ce qui sort du noeud time
  • récupérer dans nodered l’état du sensor pour voir si le format de stockage correspond à ce que le noeud time accepte: Faire un flot de test, qui récupère la valeur du sensor et qui écrit ça dans le debug.
1 « J'aime »

Voici sur une carte glance :
image

    type: glance
    entities:
      - entity: sensor.fajr_prayer
        icon: mdi:weather-sunset-up
        format: time
        name: Fajr
      - entity: sensor.dhuhr_prayer
        icon: mdi:weather-sunny
        format: time
        name: Dhuhr
      - entity: sensor.asr_prayer
        icon: mdi:weather-partly-cloudy
        format: time
        name: Asr
      - entity: sensor.maghrib_prayer
        icon: mdi:weather-sunset-down
        format: time
        name: Maghrib
      - entity: sensor.isha_prayer
        icon: mdi:weather-night
        format: time
        name: Isha
    title: Horaire Prières

Voilà le flow :

[{"id":"c52170938d2b48a6","type":"tab","label":"Prière2","disabled":true,"info":"","env":[]},{"id":"25290634adaa8e62","type":"group","z":"c52170938d2b48a6","name":"Adhan","style":{"stroke":"#0070c0","fill":"#b797cf","label":true,"color":"#000000"},"nodes":["2c4c195ee0d75175","bc12fa1512c0edea","1cee079036a380e2","ea60c479c28cf144","b49f98c907eb5240","01e49a129ab1947e","45f83e5112865aa5","b6ad612a8e961a44","409f1f975cc10f50","71dfce1f43257db2","e08847ac0d51e5f3","12d197ce9316ce52","457c16ed780681a7","6789733b044fb6ff","33c2dbfac12f6979","bdcbb49d8044c59f","9bf9678284bc49ae","a1b4d0fc5cb178a6"],"x":74,"y":39,"w":992,"h":502},{"id":"2c4c195ee0d75175","type":"switch","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"Fajr True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":460,"y":80,"wires":[["bc12fa1512c0edea"]]},{"id":"bc12fa1512c0edea","type":"delay","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":660,"y":80,"wires":[["12d197ce9316ce52"]]},{"id":"1cee079036a380e2","type":"switch","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"Dhuhr True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":470,"y":180,"wires":[["45f83e5112865aa5"]]},{"id":"ea60c479c28cf144","type":"switch","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"Asr True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":460,"y":280,"wires":[["b6ad612a8e961a44"]]},{"id":"b49f98c907eb5240","type":"switch","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"Maghrib True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":470,"y":400,"wires":[["409f1f975cc10f50"]]},{"id":"01e49a129ab1947e","type":"switch","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"Isha True","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":460,"y":500,"wires":[["71dfce1f43257db2"]]},{"id":"45f83e5112865aa5","type":"delay","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":660,"y":180,"wires":[["e08847ac0d51e5f3"]]},{"id":"b6ad612a8e961a44","type":"delay","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":660,"y":280,"wires":[["e08847ac0d51e5f3"]]},{"id":"409f1f975cc10f50","type":"delay","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":660,"y":400,"wires":[["e08847ac0d51e5f3"]]},{"id":"71dfce1f43257db2","type":"delay","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"outputs":1,"x":660,"y":500,"wires":[["e08847ac0d51e5f3"]]},{"id":"e08847ac0d51e5f3","type":"cast-to-client","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","url":"","contentType":"audio/mp4","message":"","language":"fr","ip":"10.0.0.12","port":"","volume":"20","x":960,"y":260,"wires":[[]],"icon":"node-red-contrib-cast/google-home1.svg"},{"id":"12d197ce9316ce52","type":"cast-to-client","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","url":"","contentType":"audio/mp4","message":"","language":"fr","ip":"10.0.0.12","port":"","volume":"10","x":960,"y":80,"wires":[[]],"icon":"node-red-contrib-cast/google-home1.svg"},{"id":"457c16ed780681a7","type":"ha-time","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","server":"7d1bc7dc.dcdfe8","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityId":"sensor.fajr_prayer","property":"","offset":"0","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"debugenabled":false,"x":200,"y":80,"wires":[["2c4c195ee0d75175","a1b4d0fc5cb178a6"]]},{"id":"6789733b044fb6ff","type":"ha-time","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","server":"7d1bc7dc.dcdfe8","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityId":"sensor.dhuhr_prayer","property":"","offset":"0","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"debugenabled":false,"x":210,"y":180,"wires":[["1cee079036a380e2"]]},{"id":"33c2dbfac12f6979","type":"ha-time","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","server":"7d1bc7dc.dcdfe8","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityId":"sensor.asr_prayer","property":"","offset":"0","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"debugenabled":false,"x":200,"y":280,"wires":[["ea60c479c28cf144"]]},{"id":"bdcbb49d8044c59f","type":"ha-time","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","server":"7d1bc7dc.dcdfe8","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityId":"sensor.maghrib_prayer","property":"","offset":"0","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"debugenabled":false,"x":220,"y":400,"wires":[["b49f98c907eb5240"]]},{"id":"9bf9678284bc49ae","type":"ha-time","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","server":"7d1bc7dc.dcdfe8","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityId":"sensor.isha_prayer","property":"","offset":"0","offsetType":"num","offsetUnits":"minutes","randomOffset":false,"repeatDaily":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"debugenabled":true,"x":210,"y":500,"wires":[["01e49a129ab1947e"]]},{"id":"a1b4d0fc5cb178a6","type":"debug","z":"c52170938d2b48a6","g":"25290634adaa8e62","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":450,"y":120,"wires":[]},{"id":"7d1bc7dc.dcdfe8","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30"}]

Et voilà l’info indiquée sur le flow. A savoir qu’il dit date dans le passé même pour celle qui a lieu après minuit ou même demain :

J’ai activé le debug du node mais à part in the past aucune autre info. Et un node debug n’affiche rien

J’ai tenté même si le format que j’avais ne me semble pas en cause mais toujours Error get-template: Request failed with status code 400

Import NR, 2/3 simplifications, installation de l’intégration … (d’ailleurs tu as toujours laissé ton domaine dans l’import, je peux lire tes MP3 de chez moi !!!)
J’ai déjà le prochain passage

Petite modif pour changer le timing et paf ça déclenche…

image

On voit que le format n’est pas du tout True, donc le bon truc c’est de faire :


Et voilà …

Le true était valable pour valider les templates du coup c’est lui le fautif? dans les noeuds time tu n’as rien modifié?

Non. Tes templates anciens renvoyaient probablement bien un True sauf que c’est pas exactement le nœud désormais, donc il faut adapter.
(je pense toujours que le format d’erreur sur les templates, c’est le résultat du changement du format, mais bon c’est pas la peine de chercher, tu peux faire un flow VACHEMENT plus simple)

En dehors de supprimer des nœuds et de changer les raccords, j’ai absolument rien changer d’autre

1 « J'aime »

Super merci de ton aide. J’ai plus qu’à attendre le déclenchement.

Le noeud time déclenche le flot à l’heure passée en paramètre et par défaut envoie cette heure là en payload.
Là, comme c’est juste l’heure de déclenchement qui est importante, le payload importe peu. On fait l’action associée et voilà.
Tu as 5 actions pour la journée et plus 60 x 24 x 5 = 7200 :slight_smile:

1 « J'aime »

Il y a pas un équivalent HA YAML à tout hasard ?

Je ne comprends pas la question… Equivalent à quoi?

Oui c’est pas très clair, mais j’ai ma réponse, l’équivalent sous HA, c’est une entité calendar.