Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 4.19 KB

README.md

File metadata and controls

84 lines (58 loc) · 4.19 KB

Delayed Action Card

The Delayed Action Card is a custom Home Assistant card that displays and manages delayed actions for various entities. It provides a user interface to view, create, and cancel delayed actions on supported entities.

hacs GitHub Sponsors

Bildschirmaufnahme.2024-06-30.um.19.18.16.1.mp4

Requirements

Features

  • Display current delayed actions for entities
  • Create new delayed action with a specified delay or start time
  • Cancel existing delayed action
  • Support for various entity types including lights, switches, media players, covers, and more

Installation:

HACS (Home Assistant Community Store)

  1. Go to HACS page on your Home Assistant instance
  2. Add this repository (https://github.com/bhuebschen/delayed-action-card) via HACS Custom repositories How to add Custom Repositories
  3. Select Frontend
  4. Press add icon and search for Delayed Action Card
  5. Select Delayed Action Card repo and install
  6. Force refresh the Home Assistant page (Ctrl + F5 / (Shift +) + R)
  7. Add delayed-action-card to your page

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Manual

  1. Download the 'delayed-action-card.js' from the latest [release][release-url] (with right click, save link as)
  2. Place the downloaded file on your Home Assistant machine in the config/www folder (when there is no www folder in the folder where your configuration.yaml file is, create it and place the file there)
  3. In Home Assistant go to Configuration->Lovelace Dashboards->Resources (When there is no resources tag on the Lovelace Dashboard page, enable advanced mode in your account settings, and retry this step)
  4. Add a new resource
    1. Url = /local/delayed-action-card.js
    2. Resource type = module
  5. Force refresh the Home Assistant page (Ctrl + F5 / (Shift +) + R)
  6. Add delayed-action-card to your page

Performance improvements

While Delayed Action Card can be installed as a lovelace resource, some functionality will benefit greatly from it being installed as a frontend module instead.

To do that, add the following to your configuration.yaml file and restart Home Assistant and remove it from the Resources:

frontend:
  extra_module_url:
    - /hacsfiles/delayed-action-card/delayed-action-card.js

Usage:

  1. Clicking the floating button toggles the visibility of the circular menu.
  2. Each menu item performs a predefined action, such as controlling devices or navigating to other dashboards.

Issues & Contributions:

If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

MIT © [Benedikt Hübschen][bhuebschen]