for the ability to say “Hey Siri, turn on the fan.” That’s what I use it for. I rarely ever actually open the app, I just use the Siri part of it. It’s no different than the Google Home or Alexa commands. Also, yes, maybe they didn’t post in the correct area for HA HomeKit, but they still posted in the forum asking for support f
“How can I properly add both of them to the iOS home app” --> I sasume you mean ios homekit?
You may get a better response in that casse posting on homekit support forum as it would appear that you have both devices working with Home Assistant (This forum)
Personally I would ditch homekit as that defeats the purpose of a singl pane of glass (Home Assistant) Why would you want multiple apps to control multiple devices?
Finally, I find homekit totally rubbish… Apple is WAY behind the curve when it comes to IoT…
@uiguy Wow, that’s a really nice way to welcome someone to the forums… “Don’t do that, that sucks.” Some people use HomeKit purely for the ability to say “Hey Siri, turn on the fan.” That’s what I use it for. I rarely ever actually open the app, I just use the Siri part of it. It’s no different than the Google Home or Alexa commands. Also, yes, maybe they didn’t post in the correct area for HA HomeKit, but they still posted in the forum asking for support for a HA integration. Leave it to the moderators to relocate threads as they see fit.
@s951736 Vacuum cleaners are not supported in the HomeKit integration in HA (https://www.home-assistant.io/integrations/homekit/#supported-components). Fans are supported. That’s why your air purifier shows up but the vacuum does not. What you could do is create a template switch that would turn on/turn off the vacuum. Then that switch would be added to HomeKit and you could at the very least start and stop the vacuum.
@squirtbrnr Got it!
I just got my pi4 today and I’m totally new to the HA, is this page describe the template you said?
It looks very complex, I may need some time to understand it.
Thanks for the clear answer!
Very close. That templating page will help you understand templating used within HA. Here’s how to configure a template switch:
This is looks very interesting, I’ll definitely try this when my recent works are done. Thanks!
@squirtbrnr, hi, I have some free time today, and tried your way to add my vacuum to Homekit, and it works, thanks for the solution. Here is the template I used in the configuration.yaml:
switch:
- platform: template
switches:
vacuum:
value_template: "off"
turn_on:
service: vacuum.start
data:
entity_id: vacuum.xiaomi_vacuum_cleaner
turn_off:
service: vacuum.return_to_base
data:
entity_id: vacuum.xiaomi_vacuum_cleaner