There is a selection of containers that I'd like to be able to start / stop through HomeAssistant. To avoid the security hassle of potentially disabling critical containers it would be a great addition to allow a list of containers to include (or exclude) from getting a swicht instead of just the boolean option to generate switches for all containers based on switchenabled.
Perhaps this could be done by making the switchenabled parameter accept either a boolean or a dictionary of containers for which the fearure should be enabled?
If you're open to integrate this feature but unable to make time for it I might be able to look into it myself and open up a PR.
There is a selection of containers that I'd like to be able to start / stop through HomeAssistant. To avoid the security hassle of potentially disabling critical containers it would be a great addition to allow a list of containers to include (or exclude) from getting a swicht instead of just the boolean option to generate switches for all containers based on
switchenabled
.Perhaps this could be done by making the
switchenabled
parameter accept either a boolean or a dictionary of containers for which the fearure should be enabled?If you're open to integrate this feature but unable to make time for it I might be able to look into it myself and open up a PR.