mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 11:15:13 -06:00
aligned module name
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
package example
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log/slog"
|
"log/slog"
|
||||||
@@ -74,7 +74,6 @@ func (s *MySuite) TestLightService() {
|
|||||||
s.app.GetService().Light.Toggle(entityId)
|
s.app.GetService().Light.Toggle(entityId)
|
||||||
|
|
||||||
time.Sleep(1 * time.Second) // wait for state to update
|
time.Sleep(1 * time.Second) // wait for state to update
|
||||||
// <-time.After(1 * time.Second)
|
|
||||||
|
|
||||||
newState, err := s.app.GetState().Get(entityId)
|
newState, err := s.app.GetState().Get(entityId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module example
|
module main
|
||||||
|
|
||||||
go 1.21.0
|
go 1.21.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user