HomeKit - Add support for Home Assistant Scenes

I finally turned off homebridge and switched to the new built in HA HomeKit component. It works great except it does not expose HA scenes to HomeKit like Homebridge did. Please consider this a feature request. Thank you,

Scene support has been implemented in the dev branch. Will be in Home Assistant version 0.83.

Yes! Finally!

Thank you so much! Very much appreciated.

Is there any new Update on this? How do I expose HA Scenes / Scripts to HK?

In the options for the Homekit integration, you can select the scene domain and then include the scenes you want on the next page:

Oh wow… It really is that simple.
Do they show up as Accessories or as actual Scenes in HomeKit?

They show up as accessories (switches) which is odd because scenes in HA are stateless. So I guess they are momentary switches in HomeKit.

Did anyone find an answer how to incorporate Home Assistant scenes into HomeKit?

Yes, the answer is the one three posts above yours.

When you configure the Homekit integration, you get to choose which Home Assistant domains are exposed to Homekit. In the following screenshot, you can see that Scenes is one of the available domains.

1 Like

Agreed. But they still do not show up as scenes within HomeKit. Just as the switch toggles. I wasn’t clear enough in my question.

Scenes in Home Assistant are basically scripts.

So in Home Kit, create a new Scene and then have it turn on the switch for the HA Scene you want to trigger.

Is there a way to simulate a real switch that turn on and off ? Currently it reset to off automatically

Curious if anyone has handled this yet. Because the scenes in HA are stateless and the scenes in HK are on/off, it’s not quite the same even if you put the HA scene as the only entity on a HK scene. It doesn’t work as expected.

I assume the next best thing is to cobble together a script in HA that adds a new switch for each scene to manage the state. Just curious if anyone has done anything more eloquent.

1 Like

Let me chime in here because this was the first thread I found when looking for this answer and after manually writing automations and scripts to handle this I finally figured out the correct way to do it. I don’t understand why no one else will explain this.

A scene in the Home app on iOS is more akin to a group in Home assistant. Create a group (it’s a type of helper in HA) and add all the devices you want to control together. This will create a switch that controls all of the devices together. That switch will be shared through HomeKit bridge to your home app (follow the advice above in this thread to set that up).

In the home ap, create a scene that controls that switch. This is how you replicate the scene behaviour in the Home app with Home Assistant.