# Fan Increase / Decrease Speed with Home Assistant

**URL:** <https://forum.bondhome.io/t/fan-increase-decrease-speed-with-home-assistant/5247>\
**Category:** Integrations\
**Created:** [January 28, 2025, 10:42am UTC](https://forum.bondhome.io/t/fan-increase-decrease-speed-with-home-assistant/5247 "2025-01-28T10:42:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton2079](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anton2079](https://forum.bondhome.io/u/anton2079)\
**Post date:** [January 28, 2025, 10:42am UTC](https://forum.bondhome.io/t/fan-increase-decrease-speed-with-home-assistant/5247/1 "2025-01-28T10:42:28Z")

</div>

Currently home assistant integration doesn’t include the increase or decrease speed button.  
I have a fan (dyson) that is integrated via IR, works great via the app but can only toggle power and direction via home assistant.

To work around this I’m trying to do RESTAPI integration with a home assistant button but can’t get the RESTAPI to like the Increase or Decrease speed action

- returns {“\_error\_id”:7,“\_error\_msg”:“bad argument”}
- FYI: Show raw log (power toggle and direction works).

```auto
curl --location --request PUT 'http://192.168.x.x/v2/devices/XXXXXX/actions/IncreaseSpeed' \
--header 'Bond-Token: YYYYYYYY' \
--header 'Content-Type: text/plain' \
--data '{}'

```

---

<div class="post-metadata">

**Author:** ![residualimages](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/residualimages/32/74_2.png) [@residualimages](https://forum.bondhome.io/u/residualimages)\
**Post date:** [January 30, 2025, 4:58am UTC](https://forum.bondhome.io/t/fan-increase-decrease-speed-with-home-assistant/5247/2 "2025-01-30T04:58:34Z")

</div>

You’ll need a parameter in the data field (it looks like just a blank {} in your example above), saying how many [speed](https://docs-local.appbond.com/#section/Features/Speed) levels to increase.

See [here](https://forum.bondhome.io/t/31-speed-fan-ha-control/2325/4)

---

<div class="post-metadata">

**Author:** ![anton2079](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anton2079](https://forum.bondhome.io/u/anton2079)\
**Post date:** [January 30, 2025, 10:53am UTC](https://forum.bondhome.io/t/fan-increase-decrease-speed-with-home-assistant/5247/4 "2025-01-30T10:53:39Z")

</div>

Thank you that worked, it would be useful if there were curl generation within the api swagger because I don’t really find it super clear (probably user error)

---

<div class="post-metadata">

**Author:** ![dandashl1973](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@dandashl1973](https://forum.bondhome.io/u/dandashl1973)\
**Post date:** [February 28, 2025, 4:10pm UTC](https://forum.bondhome.io/t/fan-increase-decrease-speed-with-home-assistant/5247/5 "2025-02-28T16:10:18Z")

</div>

I’m having exactly the same problem here with a kitchen hood. The remote only has a Fan Up and Fan Down function. I set it up in the app, and it works great - but in Home Assistant it presents as a 3speed+off fan control, and does not work at all. None of the speed settings or Off do anything, and the Off actually throws an error. Is there a way I can fix the entity type so that it just presents a Fan Up and Fan Down in HA?

After reading the post here about how to decode programmed buttons, I am able to do what I want from the command line with CURL, but I am pulling my hair out trying to translate these curl commands into RESTful actions in HA…

curl -H “BOND-Token: blahhh” -i [http://192.168.1.18/v2/devices/blahhblahh/commands/4d8249afa7250f35/tx](http://192.168.1.18/v2/devices/blahhblahh/commands/4d8249afa7250f35/tx) -X PUT -d “{}”
