1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-25 13:13:48 +01:00

Fix climate restore schema changed resulting in invalid restore (#2068)

Co-authored-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Otto Winter
2021-07-26 15:19:50 +02:00
committed by GitHub
parent a3dcac62f9
commit 2a9e3d84fd
2 changed files with 6 additions and 1 deletions

View File

@@ -120,6 +120,7 @@ class ClimateCall {
};
/// Struct used to save the state of the climate device in restore memory.
/// Make sure to update RESTORE_STATE_VERSION when changing the struct entries.
struct ClimateDeviceRestoreState {
ClimateMode mode;
bool uses_custom_fan_mode{false};