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

[Feature Request] Override HVAC mode service call #396

Open
szerencl opened this issue Aug 3, 2023 · 0 comments
Open

[Feature Request] Override HVAC mode service call #396

szerencl opened this issue Aug 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@szerencl
Copy link

szerencl commented Aug 3, 2023

Is your feature request related to a problem? Please describe.
I want to dry out my AC unit when I turn it off by running fan mode for X amount of time.
It would be nice if this could be done by remapping the 'off' mode to a script call (and passing the configured entity) instead of calling climate.set_hvac_mode

Describe the solution you'd like
When pressing the Off button it would call script.ac_turn_off_with_drying and pass climate.my_room as the value of ac_entity to it.

cards:
  - type: 'custom:simple-thermostat'
    entity: climate.my_room
    service:
      'off':
        domain: script
        service: ac_turn_off_with_drying
        data:
          ac_entity: {{ entity }}
@szerencl szerencl added the enhancement New feature or request label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant