Added option to activate computer through mqtt
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -13,6 +13,10 @@ type OnOff interface {
|
||||
GetOnOff() bool
|
||||
}
|
||||
|
||||
type Activate interface {
|
||||
Activate(state bool)
|
||||
}
|
||||
|
||||
func GetDevices[K any](devices *map[InternalName]Basic) map[InternalName]K {
|
||||
devs := make(map[InternalName]K)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user