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

Add fan mode as an entity and action #349

Closed
yoshz opened this issue Dec 11, 2024 · 2 comments
Closed

Add fan mode as an entity and action #349

yoshz opened this issue Dec 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@yoshz
Copy link

yoshz commented Dec 11, 2024

Problem Description

Currently I can only change the fan mode from clicking on the climate entity.
I can not use an automation to change the fan mode because it is not available as an entity or action

Solution Description

Add fan mode as an entity and action just like swing mode and preset.

Alternatives Description

No response

Additional Context

No response

@yoshz yoshz added the enhancement New feature or request label Dec 11, 2024
@hapination
Copy link

You should see the attributes of the climate sensor under development tools:
image

You can use the fan mode (or any attribute by selection the corresponding action) in the automation. The entity to select is the climate device itself:
image

Same in yaml:

description: ""
mode: single
triggers: []
conditions: []
actions:
  - action: climate.set_fan_mode
    metadata: {}
    data:
      fan_mode: High
    target:
      entity_id: climate.ilpalakerta

@yoshz
Copy link
Author

yoshz commented Dec 20, 2024

Yes I noticed it is available under climate, so I can control the fan mode there. So no need to add this attribute.

@yoshz yoshz closed this as completed Dec 20, 2024
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

2 participants