Thermostat card used with Drayton Wiser produces error when selecting preset from dropdown

Since the latest update of HA, I am getting a message on the Thermostat card that the “Preset mode is not valid”

If I click on the three dots on the top right of the card and perform the same action, then no error message appears.

type: thermostat
entity: climate.wiser_gym
name: Gym
features:
  - type: climate-hvac-modes
    hvac_modes:
      - auto
      - heat
      - 'off'
  - type: climate-preset-modes
    style: dropdown
    preset_modes:
      - Advance Schedule
      - Cancel Overrides
      - Boost 30m
      - Boost 1h
      - Boost 2h
      - Boost 3h
show_current_as_primary: true

The action seems to work but now with this spurious error message

  • Core2024.1.2
  • Supervisor2023.12.0
  • Operating System11.3
  • Frontend20240104.0

Wiser Home Assistant Integration v3.4.2

I am having the same issue, did you find a fix?

No - same error line being produced when selecting from the drop down but seems to action the request. All my HACS and Add-ons are up to date so not sure what this can be

See also Drayton Wiser Home Assistant Integration - #3221 by msp1974

Seems it’s an issue with the front end integration. I am sure it will be fixed soon.

1 Like

I have just moved to Drayton Wiser and I’m using the Thermostat Tile Cards. When I select a Preset I get this error but the Preset still works.

Anyone else still experiencing this error?

Yes - still getting the same issue

1 Like

1. Validate Preset Modes in Configuration

Ensure that the preset_modes defined in your card exactly match those recognized by the backend integration. You can verify this by:

  • Checking the Developer ToolsStates for the entity climate.wiser_gym. Look for the preset_modes attribute and ensure the listed modes match your card configuration.

2. Modify the Thermostat Card Configuration

If the frontend does not fully support dropdowns for preset_modes, you can simplify the configuration:

type: thermostat
entity: climate.wiser_gym
name: Gym
features:
  - type: climate-hvac-modes
    hvac_modes:
      - auto
      - heat
      - 'off'
  - type: climate-preset-modes
    style: list
    preset_modes:
      - Advance Schedule
      - Cancel Overrides
      - Boost 30m
      - Boost 1h
      - Boost 2h
      - Boost 3h
show_current_as_primary: true
  • Changing style to list might work better if the dropdown implementation is causing issues.

3. Rebuild the Card

Sometimes, removing and recreating the card resolves configuration glitches.

4. Use a third party integration or HACS

If the default thermostat setup isn’t meeting your needs, you might want to explore third-party integrations. For example, I use

However, there are plenty of other thermostat options available that might suit your specific requirements.

1 Like

From Developer Tools -> States for climate.wiser_living_room
preset_modes: Advance Schedule, Cancel Overrides, Boost 30m, Boost 1h, Boost 2h, Boost 3h

The card with the dropdown list for Preset opened:

so they look like they match.

The card config is:

type: tile
entity: climate.wiser_living_room
name: Living Room
features:
  - type: climate-hvac-modes
  - type: climate-preset-modes
    style: dropdown
  - type: target-temperature

Jerry, I have the following configuration:

type: thermostat
entity: climate.wiser_tv_room
name: Lounge
features:
  - type: climate-hvac-modes
    hvac_modes:
      - auto
      - heat
      - "off"
  - type: climate-preset-modes
    style: dropdown
    preset_modes:
      - Advance Schedule
      - Cancel Overrides
      - Boost 30m
      - Boost 1h
      - Boost 2h
      - Boost 3h
show_current_as_primary: true

And the actions selected work (ie, I select Advance Schedule and the schedule advances), however, the following message pops up:

You can see that the actions match the pop-up so not sure why this pop-up is being presented. Prior to Jan 8th this year, the pop-up did not appear, so something changed.

Same issue here. Functional card with the errant error message whose only job seems to be to get people to push the buttons again and again for a job that is already done. Nice!