This commit is contained in:
2026-01-09 23:55:14 +01:00
16 changed files with 1514 additions and 0 deletions

View File

@@ -142,8 +142,12 @@ func (c *Client) GetStatus() (*Status, error) {
// Parse response format: "1,1\n2,1\n3,1\n4,1\n5,0\n"
status := &Status{
<<<<<<< HEAD
Relays: make([]RelayState, 0, 5),
Connected: true,
=======
Relays: make([]RelayState, 0, 5),
>>>>>>> 4ab192418e21065c68d59777493ea03b76c061e7
}
lines := strings.Split(strings.TrimSpace(string(body)), "\n")