bitfocus / companion-module-tplink-taposmartplug

MIT License
2 stars 1 forks source link

FEATURE REQUEST: Power Toggle #3

Closed jmcc94 closed 1 year ago

jmcc94 commented 1 year ago

There are currently actions for both Power On & Power Off.

Would it be possible to get a Power Toggle option

josephdadams commented 1 year ago

The upstream library that does the API calls only has power on or off. We would have to do a check every time to determine if it’s already on or off before then sending the command if the command doesn’t match the state.

so no.