Open bruno4712 opened 11 months ago
Didn't work at my side. Still get the same error only hard coding it to a value helped at my situation.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days
who can fix this?
Setting a schedule for one day of the week in the format like this { "schedule": { "week_day": "monday", "schedule": "06:00/20 22:00/19 24:00/18" } } via field send_payload throws a exeption. It is not possible to set the value on respective object because the field working_day is not read from the object list here.
ioBroker.zigbee v1.8.23 zigbee-herdsman-converters v15.107.0
protocol:
Stack trace for null: Error: Invalid "working_day" property, need to set it before at Object.to (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/src/lib/tuya.ts:641:23) at Object.convertSet (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/src/lib/tuya.ts:897:57) at /opt/iobroker/node_modules/iobroker.zigbee/main.js:735:52
https://www.zigbee2mqtt.io/devices/TV02-Zigbee.html
This occurs on following thermostats: TV02-Zigbee / TS0601 manufacturer: _TZE200_hue3yfsn and _TZE200_mudxchsu
The processing of the field weekScheduleType must be fixed here.
hard copy from debugger:
Patching the field weekScheduleType in the debugger as work around helps to fill the 7 schedule fields.
see also this issue https://github.com/ioBroker/ioBroker.zigbee/issues/1898