w.Intercom = i;Can I set the schedule for all days of the week through the API? — tado° Community

Can I set the schedule for all days of the week through the API?

Hello

I'm using the TADO API to set the schedule for various days of the week. The schedule for each day is different, so the zone in question has the timetable type SEVEN_DAY.

So far I'm setting the schedule independently, sending a PUT to:

 https://my.tado.com/api/v2/homes/<home>/zones/<zone>/schedule/timetables/2/blocks<day>

; For example, for Monday I send the following data:

[

   {

   "dayType": "MONDAY",

       "start": "00:00",

       "end": "07:00",

       "geolocationOverride": false,

       "setting": {

           "type": "HEATING",

           "power": "ON",

           "temperature": {

               "celsius": 18.00,

               "fahrenheit": 64.40

           }

       }

   },

   {

       "dayType": "MONDAY",

       "start": "07:00",

       "end": "00:00",

       "geolocationOverride": false,

       "setting": {

           "type": "HEATING",

           "power": "ON",

           "temperature": {

               "celsius": 20.00,

               Fahrenheit: 68.00

           }

       }

   }

]


and so on with the other days, but it would be wonderful if there was some way to send the settings for all days at once.

Can you tell me if there is any way to do it?


Thanks in advance!