craig59
(Craig Rayner)
September 14, 2024, 10:41pm
1
Hi All,
I think I failed to find some entity in this question. Guidance sought.
The Sensibo integration for use with the Sensibo Pure exposes the fan to set in off/fan only mode and the fan mode of low/high.
When I try to set the fan speed in an automation, it appears that no option for fan speed is exposed. It is obviously exposed for the dashboard, but I am at a loss as to setting the fan speed in an automation.
Attached is the dashboard card, and a list of controls/entities from the integration.
nickrout
(Nick Rout)
September 14, 2024, 10:50pm
2
Please show us all the attributes of the climate entity. They will show in the states developer tools. Mine for a sensibo HVAC are
hvac_modes:
- cool
- heat
- dry
- heat_cool
- fan_only
- "off"
min_temp: 10
max_temp: 31
target_temp_step: 1
fan_modes:
- quiet
- low
- medium
- medium_high
- high
- auto
- strong
swing_modes:
- stopped
- fixedtop
- fixedmiddletop
- fixedmiddle
- fixedmiddlebottom
- fixedbottom
- rangefull
current_temperature: 20.7
temperature: 21
current_humidity: 51.9
fan_mode: quiet
swing_mode: rangefull
friendly_name: Bedroom
supported_features: 425
Show us what you see
craig59
(Craig Rayner)
September 15, 2024, 5:35am
3
How? I have no idea how to list this information.
p.s. in the diagnosics the device shows:
"fan_modes": [
"low",
"high"
],```
nickrout
(Nick Rout)
September 15, 2024, 9:35am
4
You automate the fan mode by the action.set_fan_mode action.
See the documentation Climate - Home Assistant
craig59
(Craig Rayner)
September 15, 2024, 9:24pm
5
Thanks,
Found it now:
- action: climate.set_fan_mode
metadata: {}
data:
fan_mode: Low
target:
device_id: fa3503.....................41203f9a7
nickrout
(Nick Rout)
September 15, 2024, 11:17pm
6
You would be better to use the action, as I said.
craig59
(Craig Rayner)
September 16, 2024, 9:59am
7
Thanks. That is what was generated by the UI.
nickrout
(Nick Rout)
September 16, 2024, 7:46pm
8
Sorry, rereading your post you seen to have it as I suggested. As for why, see here Why and how to avoid device_ids in automations and scripts
craig59
(Craig Rayner)
September 17, 2024, 12:11am
9
Thanks,
Only been using HA for a month, so still on the learning curve. Here is the result of removing device_id in one automation.
So, from:
alias: Air Purifier Off
description: ""
trigger:
- platform: numeric_state
entity_id:
- sensor.living_room_elements_air_quality_index
below: 80
for:
hours: 0
minutes: 15
seconds: 0
- platform: numeric_state
entity_id:
- sensor.living_room_elements_air_quality_index
for:
hours: 0
minutes: 5
seconds: 0
below: 50
- platform: numeric_state
entity_id:
- sensor.living_room_elements_air_quality_index
below: 30
condition: []
action:
- device_id: fa35038dd08e83aea5f1cc241203f9a7
domain: select
entity_id: 8694288efcc44cc11b7b145f5927a531
type: select_option
option: "off"
- action: climate.set_fan_mode
metadata: {}
data:
fan_mode: Low
target:
device_id: fa35038dd08e83aea5f1cc241203f9a7
- type: turn_off
device_id: fa35038dd08e83aea5f1cc241203f9a7
entity_id: aea0e4630e962ea386caef307e465568
domain: switch
- device_id: fa35038dd08e83aea5f1cc241203f9a7
domain: climate
entity_id: 045a1b93d81e0d5df96532e15bec4e53
type: set_hvac_mode
hvac_mode: "off"
mode: single
to
alias: Air Purifier Off
description: ""
trigger:
- platform: numeric_state
entity_id:
- sensor.living_room_elements_air_quality_index
below: 80
for:
hours: 0
minutes: 15
seconds: 0
- platform: numeric_state
entity_id:
- sensor.living_room_elements_air_quality_index
for:
hours: 0
minutes: 5
seconds: 0
below: 50
- platform: numeric_state
entity_id:
- sensor.living_room_elements_air_quality_index
below: 30
condition: []
action:
- action: select.select_option
metadata: {}
data:
option: "Off"
target:
entity_id: select.living_room_pure_light
- action: climate.set_fan_mode
metadata: {}
data:
fan_mode: Low
target:
device_id: fa35038dd08e83aea5f1cc241203f9a7
- action: switch.turn_off
metadata: {}
data: {}
target:
entity_id: switch.living_room_pure_pure_boost
- action: climate.set_hvac_mode
metadata: {}
data:
hvac_mode: "off"
target:
entity_id:
- climate.living_room_pure
mode: single
and all done using the UI. Easy.
1 Like