File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import (
14
14
// https://lib.dr.iastate.edu/cgi/viewcontent.cgi?article=1424&context=creativecomponents
15
15
// https://github.com/p-doyle/Python-KasaSmartPowerStrip
16
16
// https://community.hubitat.com/t/release-tp-link-kasa-plug-switch-and-bulb-integration/1675/482
17
+ // https://github.com/whitslack/kasa/blob/master/API.md
17
18
18
19
// Device is the primary type, commands are called from the device
19
20
type Device struct {
@@ -28,8 +29,8 @@ var klogger kasalogger = log.Default()
28
29
29
30
// Any log interface that has Println and Printf will do
30
31
type kasalogger interface {
31
- Println (... interface {} )
32
- Printf (string , ... interface {} )
32
+ Println (... any )
33
+ Printf (string , ... any )
33
34
}
34
35
35
36
// NewDevice sets up a new Kasa device for polling
You can’t perform that action at this time.
0 commit comments