Automation to turn on/off switch to charge fire tablet

I have been using this… But it might not be what you want.
https://community.home-assistant.io/t/wallpanel-battery-management/256317

1 Like