question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integrate with HA API for automation retrieval and updates (this way we can support split configs better)

See original GitHub issue

Currently we are mounting HA’s /config folder and manually reading and validating the automation files. A better implementation of this would be to load the automations from the websocket (which we already do) and then utilize these endpoints to update/manage the autos.

GET/POST https://homeassistant.sosnovsky.ca/api/config/automation/config/<automation-id>

Notes

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
martkopeckycommented, Aug 19, 2022

Unfortunately, even the new version does not work for me…

image

The automation is stored in config\packages\automations\cover.yaml

package_automations_cover:
  automation:
    - id: "cover_auto_calibrate"
      alias: Auto calibrate covers first Wednesday each month at noon
      (...)

My configuration.yaml looks like this

homeassistant:
  packages: !include_dir_merge_named packages
1reaction
martkopeckycommented, Aug 8, 2022

If possible, please, also try to find a way how to support automations stored within individual files and also in packages, such as some of these configs: https://github.com/klaasnicolaas/Student-homeassistant-config https://github.com/frenck/home-assistant-config https://github.com/SeLLeRoNe/HA-Config

Read more comments on GitHub >

github_iconTop Results From Across the Web

Splitting up the configuration - Home Assistant
First off, several community members have sanitized (read: without API keys/passwords etc) versions of their configurations available for viewing, you can ...
Read more >
Pull Data From The Web & Display In Home Assistant - YouTube
Update - it looks like they removed the Social Blade integration, ... I show you how to explore an API and set up...
Read more >
Home Assistant How To - Automate testing with ... - YouTube
In this video - last in series related to GitHub and Travis CI, we will look into creating automation that will test our...
Read more >
Seal/Unseal | Vault - HashiCorp Developer
To migrate from Auto Unseal to Shamir keys, take your server cluster offline and update the seal configuration and add disabled = "true"...
Read more >
Zapier | Automation that moves you forward
Workflow automation for everyone. Zapier automates your work across 5000+ app integrations, so you can focus on what matters.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found