Skip to content

[BUG]: Saving the last active schedule does not work for more than one ThermoZone #800

@bouwew

Description

@bouwew

Describe the bug.

The last active schedule based on the last used datetime will be incorrectly used for all ThermoZones that don't have a schedule selected, instead of for the Zone that had it set last as the active schedule.

The present code does save the last active schedule name per Zone when an schedule has been set. This data is reset/lost at a HA restart or Integration-reload.

Expected behavior

We would need to cache the active schedule-name per Zone which would result in this data to be still available after a HA restart.

What version of Home Assistant Core has the issue?

core-2025.10.2

What type of installation are you running?

Home Assistant Supervised

How and which version of the integration do you have installed?

Manually installed custom_component

What kind of Plugwise device is having issues?

Smile: Adam (including Lisa, Tom, Floor)

What firmware version is your Plugwise product at?

3.9.0

Home Assistant Logging (optional)

No response

Diagnostics information

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions