Skip to content

[TRVZB] Strage state statusΒ #30449

@GigiPompieru

Description

@GigiPompieru

What happened?

I have also mentioned this in this thread, but I think it deserves a separate dedicated one.
Following Koenkk/zigbee-herdsman-converters#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    problemSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions