Scheduled Action: schedule any predefined action from a popup

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.

2 Likes

So, like the custom scheduler card but with triggers instead of conditions?

Kind of, but only partly.

I’d say it’s closer to setting a reminder and following up on it than it is to creating a recurring schedule.

The way I use it is as an impromptu scheduler for things that don’t have a regular schedule or fixed conditions. For example when you want something to stay on for 2 hours, or when you have an action you only use occasionally but still want some smarter scheduling around it.

So you define actions once in settings, then quickly queue one from the UI to run later.

These custom triggers are ways to fire the queued action, not conditions around a larger schedule.

1 Like