This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/Travel69 on 2025-06-13 13:36:43+00:00.
If you are an Apple user and would love to trigger Home Assistant automations based on focus mode changes, this post is for you. While in iOS 18 Apple made this fairly easy for most focus modes, "Sleep" was special for some reason. It was missing the focus mode "on" and "off" triggers that every other focus mode had.
For iOS 18, I have a fresh blog post that uses a simple third party utility to FULLY automate ANY focus mode change on your iPhone. I now have fully automated bedtime scenes that turn on when sleep focus mode is enabled, and a morning scene that is triggered when sleep focus mode is turned off.
In iOS 26 developer beta 1, Apple has removed the sleep focus mode limitations and now all focus modes have the same "on" and "off" triggers. This means no third party tool is needed on iOS 26 to trigger HA automations for ALL focus modes.
Check out my full how-to guide here for iOS 18 and iOS 26:
Home Assistant: Trigger on ANY iOS 18 + iOS 26 Focus Mode