Hi all!
I generalised a custom card I’ve been using into an integration called Scheduled Action.
Sometimes I don’t want to create a full automation just to run something once later. For example:
- turn something off in 2 hours
- switch my airco to fan mode when I fall asleep tonight
- run a scene at a specific event
You can schedule any predefined Home Assistant action such as pressing a button, toggling a switch, turning on a scene, or turning off a switch!
The integration lets you define a list of reusable actions, then schedule each one of them from the UI using a simple Browser Mod popup call.
tap_action:
action: fire-dom-event
browser_mod:
service: scheduled_action.open_popup
data:
entry_id: <ENTRY_ID>
browser_id: THIS
It allows for 4 custom durations, home/sleep state boolean, 2 custom triggers.
What it does
- lets you configure predefined actions
- lets you schedule those actions for later
- shows the scheduled queue in Home Assistant
- supports a popup-friendly flow
- Supports translations (Dutch and English for now)
Multiple popups / action groups
You can create multiple Scheduled Action entries, each with its own list of actions and its own popup.
For example, you could have:
- one popup for your airco
- one popup for lights or scenes
- one general “quick actions” popup
This makes it possible to keep each popup focused instead of having one long list of every schedulable action in your house.
Installation
It is available as a HACS custom repository. The README.md has more info on how to create a simple custom trigger, or perhaps create your own popup with the backend services.
