mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 05:15:15 -06:00
Reflect the API change in README.md
This commit is contained in:
@@ -40,7 +40,7 @@ The general flow is
|
|||||||
import ga "saml.dev/gome-assistant"
|
import ga "saml.dev/gome-assistant"
|
||||||
|
|
||||||
// replace with IP and port of your Home Assistant installation
|
// replace with IP and port of your Home Assistant installation
|
||||||
app := ga.NewApp("0.0.0.0:8123")
|
app, err := ga.NewApp("0.0.0.0:8123")
|
||||||
|
|
||||||
// create automations here (see next sections)
|
// create automations here (see next sections)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user