You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great widget. Yet there is a small bug as it doesn't switch. In Api.kt fun "toggle" the "state" data type is boolean, but the Kasa Api requires 0 or 1.
Great widget. Yet there is a small bug as it doesn't switch. In Api.kt fun "toggle" the "state" data type is boolean, but the Kasa Api requires 0 or 1.
With the current implementation:
It works when I change the code to:
I am using this suggestion: https://stackoverflow.com/questions/46401879/boolean-int-conversion-in-kotlin
The text was updated successfully, but these errors were encountered: