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

[FR]: Option to stop set temperature if mode="off" #94

Open
flavioxavier opened this issue Jan 13, 2025 · 0 comments
Open

[FR]: Option to stop set temperature if mode="off" #94

flavioxavier opened this issue Jan 13, 2025 · 0 comments

Comments

@flavioxavier
Copy link

Is your feature request related to a problem? Please describe.

I'm using this integration along with smartthings rest commands, my issue is that the target temperature api doesn't set if the device is not on, but the integration lets you put that value in and worse does't update the the old value from my sensor when the sensors are updated

Describe the solution you'd like

Either an option to not allow to set target temperature if hvac_mode="off" (preferable)

Or as an alternative update the target temperature when that sensor is updated.

Describe alternatives you've considered

I've also tried to send a turn on, change the temp, and turn off api calls but smartthings probably has some internal logic to stop me from doing that, and that was hack to be honest.

Additional context

- platform: climate_template
  unique_id: dhw_thermostat
  name: DHW Thermostat
  modes:
    - "heat"
    - "off"
  min_temp_template: "{{ states('sensor.dhw_temperature_min') }}"
  max_temp_template: "{{ states('sensor.dhw_temperature_max') }}"
  temp_step: 1
  current_temperature_template: "{{ states('sensor.dhw_temperature') }}"
  target_temperature_template: "{{ states('sensor.dhw_temperature_target') }}"
  ...
  set_temperature:
    - service: rest_command.send_command_to_smartthings
      data:
        component: main
        capability: thermostatCoolingSetpoint
        command: setCoolingSetpoint
        arguments: "[{{ temperature }}]"
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

1 participant