kravnos/smart-battery
This project provides a PowerShell script that monitors a Windows laptop's battery levels and controls smart devices via the Tuya API. It helps preserve your laptop's battery health by automatically toggling the smart device on or off based on the battery's charge level. The script is compatible with devices managed through the Tuya API.
PowerShellMIT