mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-07 20:07:13 -06:00
docs update
This commit is contained in:
@@ -150,6 +150,7 @@ The function passed to `.Call()` must take
|
|||||||
|
|
||||||
- `*ga.Service` used to call home assistant services
|
- `*ga.Service` used to call home assistant services
|
||||||
- `*ga.State` used to retrieve state from home assistant
|
- `*ga.State` used to retrieve state from home assistant
|
||||||
|
- `ga.EventData` containing the event data that triggered the listener
|
||||||
|
|
||||||
```go
|
```go
|
||||||
func myFunc(se *ga.Service, st *ga.State) {
|
func myFunc(se *ga.Service, st *ga.State) {
|
||||||
|
|||||||
Reference in New Issue
Block a user