Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Preset Mode not working if a temp isn't defined in YAML #237

Open
mutasim opened this issue Sep 16, 2024 · 3 comments
Open

Set Preset Mode not working if a temp isn't defined in YAML #237

mutasim opened this issue Sep 16, 2024 · 3 comments

Comments

@mutasim
Copy link

mutasim commented Sep 16, 2024

As per this comment setting preset mode seemed to be an option.

I've created a smart thermostat but I'm not able to set preset mode.

The following error:

Failed to perform the action climate.set_preset_mode. Entity climate.openplan_smart_thermostat does not support this service.

I'm using HASmartThermostat 2024.6.1 on Hass 2024.9.1

@ScratMan
Copy link
Owner

Hi, just tested, it works.

action: climate.set_preset_mode
target:
  entity_id: climate.salle_de_bain
data:
  preset_mode: boost

Please ensure the selected preset is enabled (use the smart_thermostat.set_preset_temp action to enable/set/disable the presets temperatures).

@mutasim
Copy link
Author

mutasim commented Sep 17, 2024

Here's my thermostat with preset temps set (via the service rather than YAML):
Screenshot 2024-09-17 at 07 16 52

Here's where you can see the service not available:
Screenshot 2024-09-17 at 07 17 51

Screenshot 2024-09-17 at 07 19 07

and finally here's my YAML:

climate:
  platform: smart_thermostat
  name: Open Plan Thermostat
  unique_id: openplan_smart_thermostat
  target_sensor: sensor.heating_openplan_temp
  heater: switch.heating_wunda_openplan_switch
  outdoor_sensor: sensor.watford_hertfordshire_temperature
  keep_alive:
    seconds: 60

Thanks!

@mutasim
Copy link
Author

mutasim commented Sep 17, 2024

Ah so I just hardcoded a temp in YAML and it now it's picked up the presets.

So it appears that if no temps are set in YAML then preset modes won't activate even if temps are set using the available action (?)

@mutasim mutasim changed the title Set Preset Mode no longer supported? Set Preset Mode not working if a temp isn't defined in YAML Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants