H
Homarr8mo 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.
No description
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, ...)....
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...
Jump to solution
3 Replies
Cakey Bot
Cakey Bot8mo 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
Manicraft10018mo 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
pd0lpuOP8mo ago
Ah super, it's that easy! Worked flawlessly. Thank you for the fast response.
Want results from more Discord servers?
Add your server