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.
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, ...).
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
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...