H
Homarr3w ago
pd0lpu

Home Assistant automation

HI there, Is someone able to explain to me how to integrate a Home Assistant automation for a simple toggle switch (Shelly plug). I am especially lost on what the trigger ("When", see screenshot) should be for the Homarr widget in HA. Any help would be greatly appreciated.
Solution:
Hi @pd0lpu , you must configure this inside Homarr. The trigger here can be left empty - Homarr itself will trigger and not Home Assistant. You need to copy the automation ID and paste it to the automation ID field in the widget. https://github.com/ajnart/homarr/pull/2015 will also significantly improve the handling of generic switches (eg lights, fans, shelly switches, ...)....
No description
3 Replies
Cakey Bot
Cakey Bot3w ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Solution
Manicraft1001
Manicraft10013w ago
Hi @pd0lpu , you must configure this inside Homarr. The trigger here can be left empty - Homarr itself will trigger and not Home Assistant. You need to copy the automation ID and paste it to the automation ID field in the widget. https://github.com/ajnart/homarr/pull/2015 will also significantly improve the handling of generic switches (eg lights, fans, shelly switches, ...).
GitHub
Home Assistant entity generic toggle by tuggan · Pull Request #2015...
Added support for generic toggle on Home Assistant entities that support it. For entities that does not support toggle the feature will silently fail. This way matches how Home Assistant handles it...
pd0lpu
pd0lpu3w ago
Ah super, it's that easy! Worked flawlessly. Thank you for the fast response.