Commit graph

12 commits

Author SHA1 Message Date
Bendodroid 68d0ec05db feat: Add support for PUT/DELETE state.message
Fix #33
2024-08-03 19:50:19 +02:00
Bendodroid 8015ed2be5
Location is optional for beverage_supply so make it omitempty 2024-05-26 20:52:22 +02:00
Bendodroid 0241a506d4
Handle sensors that don't have a name, just a location 2024-01-14 21:54:44 +01:00
Bendodroid 70b2e8069b
Only pass State struct pointer to StateOpen, not entire response 2024-01-14 02:02:58 +01:00
Bendodroid 44143c0c2d
Save sensor values to persistent-state.json 2024-01-14 02:02:55 +01:00
Bendodroid 38710484f9
Generate HTTP endpoints for environment sensors
- Move update request sanity checks to new method in handlers/util.go
- Change EnvironmentSensor.Value type because ParseFloat returns float64
2024-01-14 01:10:38 +01:00
Bendodroid daac0b3b9e
Change Sensors field type in config and response to map 2024-01-14 01:01:12 +01:00
Bendodroid ab0a91d5f2
Add fields for Temperature and Humidity sensors to SpaceAPIResponseV14 2024-01-13 23:27:22 +01:00
Bendodroid 8a1cf0456a
First working? version with persistent state 2023-11-10 03:24:12 +01:00
Bendodroid 4eb1f18bf5
Adjust struct variable naming 2023-11-09 22:30:08 +01:00
Bendodroid 6d70d29050
Remove custom open/close icons
We currently specify both icons but both are 404s...
2023-11-04 21:16:27 +01:00
Bendodroid be29af436f
Initial commit 2023-11-04 21:07:27 +01:00