wiserHomeAssistantPlatform icon indicating copy to clipboard operation
wiserHomeAssistantPlatform copied to clipboard

Error when setting preset mode in UI

Open msp1974 opened this issue 1 year ago • 1 comments

When setting preset mode via UI more info panel, an errormoccurs that preset_mode is None, however it does set the preset mode fine.

Upon investigation, this is caused by the value we set preset mode to after selection not being in the list of preset modes as we use this to show boost time remaining and hub modes that cannot be set by selection in a room.

Need to review how to resolve this and keep same functionality or this could be a signidicant breaking change.

msp1974 avatar Sep 18 '22 10:09 msp1974

Further investigation shows that UI calls the set_preset_mode service again if mode set by integration and more-info card is being shown. Have raised with HA frontend as issue #13801.

msp1974 avatar Sep 18 '22 17:09 msp1974

Have submitted a PR to HA frontend to resolve this issue. PR #13825

msp1974 avatar Sep 20 '22 16:09 msp1974

This was fixed in HA 2022.10.0. Closing issue.

msp1974 avatar Oct 17 '22 16:10 msp1974