There is already a great solution for you on this forum.
See: Geyser Power Source Selector
While that is for a geyser, should work for your use-case.
There is already a great solution for you on this forum.
See: Geyser Power Source Selector
While that is for a geyser, should work for your use-case.