How to make a schedule for my thermostat

no tuya app.
I just made a pairing with zigbee2mqtt and I could use the thermostat card in HA.
I can see all the values of the thermostat in zigbee2mqtt.

I have a string value with the schedule of 6 x time and temperature in 1 day .

I can make it simpler if I use every day the same schedule. Then it is only 12 helpers

It should be even better for you then if you had troubles with zigbee because now you broadcast everything, including schedule via mqtt. It might make payloads too long, etc.
If you take out scheduling element, it will broadcas only simple on/off payloads = less stress on your zigbee network.

Like Taras said, it is doable but not worth it, I can show you the way and you can have a chat with gpt about it…

based on your example, this one:
07:30/22.0°C 09:30/19.0°C 12:00/19.0°C 15:00/19.0°C 17:00/22.0°C 22:00/18.0°C

  • you need to have input helper for each value, so in total 12 helpers
  • then you have to make script with variables
  • there you have to define them, eg. var1=input_number.time1, var2=input_number.temp1, etc
  • so you end up with var1/var2"°C" var3/var4"°C" var5/var6"°C", etc
  • then you need automation to constantly monitor states of those input numbers, and if there is some change you need to find a way to publish it via mqtt
  • you’ll also need to output the value as text - that’s what you need to send over to the thermostat as payload

that should work, but I personally wouldn’t do that

I will ask again, which type?

I only need the update of time/temp on the screen if I go to that screen. So the calculation could be if I need to change a value.

Sorry, I don’t know where to find the type?

So you could make a button helper next to it, that will publish that mqtt topic when needed… It doesn’t really matter.

Maybe shown in Zigbee2 MQTT? Or in HA?
Maybe on the invoice? Anywhere else.
When the typenr is known it much easier to find information like this: Tuya TS0601_thermostat control via MQTT | Zigbee2MQTT

So create 6 Input Date and 6 Input Number helpers. Display the 12 entities using Entities cards and arrange them on a new tab.

That’s the easiest part of the project. Creating the automation to synchronize the 12 helpers with the thermostat’s 7 Input Texts is the challenging part.

Yup, that’s about right.
I think the proper way for you, Pepe, would be to give a shot to the scheduler-card, the whole setup won’t take more than 20-30 minutes. Try it, if you encounter any issues, then you can go down that rabbit hole we described above.

Sorry, T was always thinking the type of connection in HA
Is a Avatto wall thermostat (ZWT198/ZWT100-BH)
by Tuya

Now I have alot to try and know what way to go. Thanks alot to Tee86 and 123

This Tuya ZWT198/ZWT100-BH control via MQTT | Zigbee2MQTT reads:

To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"schedule_weekday": NEW_VALUE}

Now you need to build something that translates a change to an MQTT message.

Thanks, that’s also a big help. I can start working again.