zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[TRVZB] Strage state status

Open GigiPompieru opened this issue 1 month ago • 0 comments

What happened?

I have also mentioned this in this thread, but I think it deserves a separate dedicated one. Following https://github.com/Koenkk/zigbee-herdsman-converters/pull/11051 the schedule for the TRV has changed the way it works.

My issue is that sometimes the state json is:

    "weekly_schedule": {
        "friday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "monday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "saturday": "00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16",
        "sunday": "00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16",
        "thursday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "tuesday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "wednesday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"
    }

I then go and update a state, for ex local_temperature with get and the state json changes to:

    "weekly_schedule": {
        "friday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "monday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "saturday": "00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16",
        "sunday": "00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16",
        "thursday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "tuesday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16",
        "wednesday": "00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"
    },
    "weekly_schedule_friday": null,
    "weekly_schedule_monday": null,
    "weekly_schedule_saturday": null,
    "weekly_schedule_sunday": null,
    "weekly_schedule_thursday": null,
    "weekly_schedule_tuesday": null,
    "weekly_schedule_wednesday": null

I then navigate to another TRV where all the weekly_schedule_ are missing, not null, just not there.

Even the TRVs that display them 'lose' them after a while. I simply cannot explain this behavior.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.7.2

Adapter firmware version

20250321

Adapter

ZStack3x0

Setup

HA Add-on on HAOS

Device database.db entry

No response

Debug log

No response

Notes

No response

GigiPompieru avatar Jan 02 '26 12:01 GigiPompieru