Notification personnalisée IOS Compagnon

Je suis un boulet…

C’était dans le configuration.yaml qu’il fallait modifier ?

  push:
    categories:
      - name: Chauffauge_Salle_de_bain_Matin
        identifier: 'chauffage'
        actions:
          - identifier: 'NE_PAS_CHAUFFER_DEMAIN'
            title: 'Pas demain !'
            activationMode: 'background'
            authenticationRequired: false
            destructive: true
            behavior: 'default'
          - identifier: 'DEFINITION_DE_L_HEURE'
            title: 'Définir heure'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'textInput'
            textInputButtonTitle: 'OK'
            textInputPlaceholder: '06:15'
 - name: Seche_Serviette_Matin
        identifier: 'seche_serviette'
        actions:
          - identifier: 'NE_PAS_CHAUFFER_SERVIETTE'
            title: 'Pas demain !'
            activationMode: 'background'
            authenticationRequired: true
            destructive: true
            behavior: 'default'
          - identifier: 'SDB_SERVIETTE'
            title: 'Définir heure'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'textInput'
            textInputButtonTitle: 'OK'
            textInputPlaceholder: '06:00'

Purée ça fonctionne !!!

Bon j’améliore la réponse Ne pas chauffer demain pour que ça me désactive l’automation de l’heure et on sera bon !!! Je posterai tout le code pour finir !

Encore merci du coup de main !!!

2 « J'aime »

Alors pour résumé, voici la solution finale qui semble fonctionnelle.
Rappelons que le but était de pouvoir régler les heures du chauffage de la salle de bain et du sèche serviette grâce à une notification actionnable tous les soirs à 20h avec mon mobile ios :

Encore merci à @cob94440 pour cette card !

https://forum.hacf.fr/t/un-reveil-sur-home-assistant/622/7

Pour ça, modification du fichier configuration.yaml :

ios:
  push:
    categories:
      - name: Chauffauge_Salle_de_bain_Matin
        identifier: 'chauffage'
        actions:
          - identifier: 'NE_PAS_CHAUFFER_DEMAIN'
            title: 'Pas demain !'
            activationMode: 'background'
            authenticationRequired: false
            destructive: true
            behavior: 'default'
          - identifier: 'DEFINITION_DE_L_HEURE'
            title: 'Définir heure'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'textInput'
            textInputButtonTitle: 'OK'
            textInputPlaceholder: '06:15'
 - name: Seche_Serviette_Matin
        identifier: 'seche_serviette'
        actions:
          - identifier: 'NE_PAS_CHAUFFER_SERVIETTE'
            title: 'Pas demain !'
            activationMode: 'background'
            authenticationRequired: true
            destructive: true
            behavior: 'default'
          - identifier: 'SDB_SERVIETTE'
            title: 'Définir heure'
            activationMode: 'background'
            authenticationRequired: false
            destructive: false
            behavior: 'textInput'
            textInputButtonTitle: 'OK'
            textInputPlaceholder: '06:00'

Reboot de HA

Création des actions ios :

https://forum.hacf.fr/t/notification-personnalisee-ios-compagnon/2175/27?u=nikos3296

Création des automations pour les actions :

- id: '1610628830203'
  alias: 'Réponse notification : définition horaire'
  description: ''
  trigger:
  - platform: event
    event_type: ios.notification_action_fired
    event_data:
      actionName: DEFINITION_DE_L_HEURE
  condition: []
  action:
  - service: input_select.select_option
    data:
      option: '{{ trigger.event.data[''textInput''].split('':'')[0] }}'
    entity_id: input_select.wakehour_2
  - service: input_select.select_option
    data:
      option: '{{ trigger.event.data[''textInput''].split('':'')[1] }}'
    entity_id: input_select.wakeminutes_2
  - service: notify.mobile_app_nikos_iphone
    data:
      title: Seche Serviette
      message: On chauffe à quelle heure demain le sèche serviette ?
      data:
        push:
          category: seche_serviette
  - service: automation.turn_on
    data: {}
    entity_id: automation.chauffage_sdb_program
  mode: single
- id: '1610653219573'
  alias: 'Réponse notification : définition horaire sèche serviette'
  description: ''
  trigger:
  - platform: event
    event_type: ios.notification_action_fired
    event_data:
      actionName: SDB_SERVIETTE
  condition: []
  action:
  - service: input_select.select_option
    data:
      option: '{{ trigger.event.data[''textInput''].split('':'')[0] }}'
    entity_id: input_select.wakehour_1
  - service: input_select.select_option
    data:
      option: '{{ trigger.event.data[''textInput''].split('':'')[1] }}'
    entity_id: input_select.wakeminutes_1
  - service: notify.mobile_app_nikos_iphone
    data:
      message: Merci  et bonne soirée !
  - service: automation.turn_on
    data: {}
    entity_id: automation.seche_serviette_sdb_program
  mode: single
- id: '1610718991037'
  alias: 'Réponse notification : Pas de chauffage'
  description: ''
  trigger:
  - platform: event
    event_type: ios.notification_action_fired
    event_data:
      actionName: NE_PAS_CHAUFFER_DEMAIN
  condition: []
  action:
  - service: automation.turn_off
    data: {}
    entity_id: automation.chauffage_sdb_program
  - service: notify.mobile_app_nikos_iphone
    data:
      title: Pas de chauffage
      message: Le chauffage est bien désactivé pour demain
  - service: notify.mobile_app_nikos_iphone
    data:
      title: Seche Serviette
      message: On chauffe à quelle heure demain le sèche serviette ?
      data:
        push:
          category: seche_serviette
  mode: single
- id: '1610719056371'
  alias: 'Réponse notification : Pas de sèche serviette'
  description: ''
  trigger:
  - platform: event
    event_type: ios.notification_action_fired
    event_data:
      actionName: NE_PAS_CHAUFFER_SERVIETTE
  condition: []
  action:
  - service: automation.turn_off
    data: {}
    entity_id: automation.seche_serviette_sdb_program
  - service: notify.mobile_app_nikos_iphone
    data:
      title: Pas de chauffage
      message: Le sèche serviette est bien désactivé pour demain
  mode: single

Après si le bouton du jour n’est pas activé, l’automation du chauffage, même si l’heure est bien réglée, ne se fait pas !

Du coup j’ai activé mes boutons de manière automatique avec node-red via l’API de HA :

https://forum.hacf.fr/t/piloter-home-assistant-depuis-node-red-grace-a-lapi-de-ha/2174

[{"id":"d53f1c07.de4fc8","type":"link out","z":"418c41dd.0bfb48","name":"","links":["acca563f.6da948"],"x":595,"y":260,"wires":[]},{"id":"d96d0acf.16e0d","type":"inject","z":"418c41dd.0bfb48","name":"Lundi_ON","props":[{"p":"payload"}],"repeat":"","crontab":"59 19 * * 1","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":106,"y":40,"wires":[["bab243.e1f445c"]]},{"id":"d68a344e.aabcc8","type":"inject","z":"418c41dd.0bfb48","name":"Mardi_ON","props":[{"p":"payload"}],"repeat":"","crontab":"59 19 * * 2","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":106,"y":120,"wires":[["28e69362.74b584"]]},{"id":"86c01580.3fbb7","type":"inject","z":"418c41dd.0bfb48","name":"Mercredi_ON","props":[{"p":"payload"}],"repeat":"","crontab":"59 19 * * 3","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":116,"y":200,"wires":[["6ff1776a.afd11"]]},{"id":"589897ef.8cff5","type":"inject","z":"418c41dd.0bfb48","name":"Jeudi_ON","props":[{"p":"payload"}],"repeat":"","crontab":"59 19 * * 4","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":106,"y":280,"wires":[["5ffe40a8.b20be"]]},{"id":"ed96370.2893fc8","type":"inject","z":"418c41dd.0bfb48","name":"Vendredi_ON","props":[{"p":"payload"}],"repeat":"","crontab":"59 19 * * 5","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":116,"y":360,"wires":[["c7559832.e7e62"]]},{"id":"9f704e57.328a28","type":"inject","z":"418c41dd.0bfb48","name":"Samedi_ON","props":[{"p":"payload"}],"repeat":"","crontab":"59 19 * * 6","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":116,"y":440,"wires":[["8f518a3d.d25eb8"]]},{"id":"18acc323.4fdf25","type":"inject","z":"418c41dd.0bfb48","name":"Dimanche_ON","props":[{"p":"payload"}],"repeat":"","crontab":"59 19 * * 0","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":116,"y":520,"wires":[["6e275598.57890c"]]},{"id":"9d7bcfe2.89e23","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_mon_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":396,"y":20,"wires":[["d53f1c07.de4fc8"]]},{"id":"355c22ef.8e24ae","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_mon_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":397,"y":59,"wires":[["d53f1c07.de4fc8"]]},{"id":"89a55534.5e0b1","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_tue_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":398,"y":98,"wires":[["d53f1c07.de4fc8"]]},{"id":"ed05d9b7.ff101","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_tue_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":399,"y":139,"wires":[["d53f1c07.de4fc8"]]},{"id":"fe930fcd.dda888","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_wed_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":399,"y":179,"wires":[["d53f1c07.de4fc8"]]},{"id":"35c434a5.6806d4","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"{\"entity_id\":\"input_boolean.wakeweekday_wed_2\"}\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":218,"wires":[["d53f1c07.de4fc8"]]},{"id":"622320a5.2f7508","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_thu_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":260,"wires":[["d53f1c07.de4fc8"]]},{"id":"5cd880eb.713ef8","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_thu_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":300,"wires":[["d53f1c07.de4fc8"]]},{"id":"495103bf.06890c","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_fri_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":401,"y":339,"wires":[["d53f1c07.de4fc8"]]},{"id":"8873d52b.b80228","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_fri_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":402,"y":378,"wires":[["d53f1c07.de4fc8"]]},{"id":"61ac9a14.3523f4","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sat_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":403,"y":419,"wires":[["d53f1c07.de4fc8"]]},{"id":"85ab2396.899ab","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sat_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":403,"y":459,"wires":[["d53f1c07.de4fc8"]]},{"id":"2ac08e87.17ebb2","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sun_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":404,"y":498,"wires":[["d53f1c07.de4fc8"]]},{"id":"7279b0d4.7444a","type":"change","z":"418c41dd.0bfb48","name":"ON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sun_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":404,"y":540,"wires":[["d53f1c07.de4fc8"]]},{"id":"5ffe40a8.b20be","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":264,"y":280,"wires":[["495103bf.06890c","8873d52b.b80228"]]},{"id":"bab243.e1f445c","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":264,"y":40,"wires":[["89a55534.5e0b1","ed05d9b7.ff101"]]},{"id":"28e69362.74b584","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":263,"y":120,"wires":[["fe930fcd.dda888","35c434a5.6806d4"]]},{"id":"6ff1776a.afd11","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":267,"y":200,"wires":[["622320a5.2f7508","5cd880eb.713ef8"]]},{"id":"c7559832.e7e62","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":267,"y":360,"wires":[["61ac9a14.3523f4","85ab2396.899ab"]]},{"id":"8f518a3d.d25eb8","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":268,"y":440,"wires":[["2ac08e87.17ebb2","7279b0d4.7444a"]]},{"id":"6e275598.57890c","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":270,"y":520,"wires":[["9d7bcfe2.89e23","355c22ef.8e24ae"]]},{"id":"328974df.a38db4","type":"inject","z":"418c41dd.0bfb48","name":"Lundi_OFF","props":[{"p":"payload"}],"repeat":"","crontab":"00 12 * * 1","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":822,"y":40,"wires":[["6d396474.3ca824"]]},{"id":"7c273ca3.0d202c","type":"inject","z":"418c41dd.0bfb48","name":"Mardi_OFF","props":[{"p":"payload"}],"repeat":"","crontab":"00 12 * * 2","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":822,"y":120,"wires":[["792b302f.0a5e5"]]},{"id":"dc105b50.39c658","type":"inject","z":"418c41dd.0bfb48","name":"Mercredi_OFF","props":[{"p":"payload"}],"repeat":"","crontab":"00 12 * * 3","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":832,"y":200,"wires":[["460fdd7a.c8902c"]]},{"id":"d01036a8.ae9bd8","type":"inject","z":"418c41dd.0bfb48","name":"Jeudi_OFF","props":[{"p":"payload"}],"repeat":"","crontab":"00 12 * * 4","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":822,"y":280,"wires":[["43bc8866.ab55b"]]},{"id":"a8bf2a50.081c","type":"inject","z":"418c41dd.0bfb48","name":"Vendredi_OFF","props":[{"p":"payload"}],"repeat":"","crontab":"00 12 * * 5","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":832,"y":360,"wires":[["43a44ac7.da248c"]]},{"id":"2e74459f.c60c6a","type":"inject","z":"418c41dd.0bfb48","name":"Samedi_OFF","props":[{"p":"payload"}],"repeat":"","crontab":"00 12 * * 6","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":832,"y":440,"wires":[["bf6fde25.29a1a8"]]},{"id":"7db0ce2b.82fac8","type":"inject","z":"418c41dd.0bfb48","name":"Dimanche_OFF","props":[{"p":"payload"}],"repeat":"","crontab":"00 12 * * 0","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":842,"y":520,"wires":[["98144233.b3e678"]]},{"id":"43bc8866.ab55b","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1004,"y":280,"wires":[["78ff9372.091db4","78f9f50f.3382f4"]]},{"id":"6d396474.3ca824","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1004,"y":40,"wires":[["3123c0c.96707c","fc62355d.367f48"]]},{"id":"792b302f.0a5e5","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1003,"y":120,"wires":[["f3819a19.3e99","a7aef29d.4b3428"]]},{"id":"460fdd7a.c8902c","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1007,"y":200,"wires":[["e3526734.7ec638","b2ff7b61.9ee768"]]},{"id":"43a44ac7.da248c","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1007,"y":360,"wires":[["b7cdf157.e2db6","c665c2d5.8b75a"]]},{"id":"bf6fde25.29a1a8","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1008,"y":440,"wires":[["e4d599ff.e48c68","b442e1d3.b75148"]]},{"id":"98144233.b3e678","type":"switch","z":"418c41dd.0bfb48","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1010,"y":520,"wires":[["cfc43e17.d82508","d096f367.07145"]]},{"id":"a049ab2c.3c563","type":"link out","z":"418c41dd.0bfb48","name":"","links":["acca563f.6da948"],"x":1355,"y":260,"wires":[]},{"id":"3123c0c.96707c","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_mon_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1156,"y":20,"wires":[["a049ab2c.3c563"]]},{"id":"fc62355d.367f48","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_mon_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1157,"y":59,"wires":[["a049ab2c.3c563"]]},{"id":"f3819a19.3e99","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_tue_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1158,"y":98,"wires":[["a049ab2c.3c563"]]},{"id":"a7aef29d.4b3428","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_tue_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1159,"y":139,"wires":[["a049ab2c.3c563"]]},{"id":"e3526734.7ec638","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_wed_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1159,"y":179,"wires":[["a049ab2c.3c563"]]},{"id":"b2ff7b61.9ee768","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"{\"entity_id\":\"input_boolean.wakeweekday_wed_2\"}\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":218,"wires":[["a049ab2c.3c563"]]},{"id":"78ff9372.091db4","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_thu_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":260,"wires":[["a049ab2c.3c563"]]},{"id":"78f9f50f.3382f4","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_thu_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":300,"wires":[["a049ab2c.3c563"]]},{"id":"b7cdf157.e2db6","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_fri_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1161,"y":339,"wires":[["a049ab2c.3c563"]]},{"id":"c665c2d5.8b75a","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_fri_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1162,"y":378,"wires":[["a049ab2c.3c563"]]},{"id":"e4d599ff.e48c68","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sat_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1163,"y":419,"wires":[["a049ab2c.3c563"]]},{"id":"b442e1d3.b75148","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sat_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1163,"y":459,"wires":[["a049ab2c.3c563"]]},{"id":"cfc43e17.d82508","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sun_1\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1164,"y":498,"wires":[["a049ab2c.3c563"]]},{"id":"d096f367.07145","type":"change","z":"418c41dd.0bfb48","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"entity_id\":\"input_boolean.wakeweekday_sun_2\"}","tot":"str"},{"t":"set","p":"query.device_type","pt":"msg","to":"input_boolean","tot":"str"},{"t":"set","p":"query.service","pt":"msg","to":"turn_off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1164,"y":540,"wires":[["a049ab2c.3c563"]]}]

Et vraiment un ENOOOOORME merci @Clemalex pour sa patience, son partage de connaissances et sa disponibilité !

Le petit plus serait de pouvoir renseigné ces heures de programmation sur l’apple watch mais je ne sais pas si c’est prévu. (Du moins pour un texInput ou input_select)…

1 « J'aime »

Super boulot à vous tous, @Nikos3296, @Clemalex & @pepite :clap: :clap: :clap:

@Nikos3296, je pense que @Clemalex apprécierait que tu édites un beau tutoriel pour pérenniser ton expérience, n’est-ce pas :wink: ?

@Nikos3296, je peux te fournir une structure que nous utilisons si ça t’intéresse de mettre ton nom sur un tutoriel :grin:.

1 « J'aime »

Hello @Sylvain_G oui je veux bien ! :blush:

2 « J'aime »