Files
Server/commands/state.go
T
2022-08-14 13:57:56 +02:00

16 lines
243 B
Go

package commands
import (
"fmt"
"git.aiterp.net/lucifer3/server/device"
)
type SetState struct {
ID string
State device.State
}
func (c SetState) CommandDescription() string {
return fmt.Sprintf("SetState(%s, %s)", c.ID, c.State)
}