saml-dev
cd839c618a
Merge pull request #30 from zimnyjakub/main
...
Add List func to state
2025-01-22 23:00:39 -05:00
Jakub Zimny
7f279c688c
address PR comments
2025-01-22 08:39:55 +01:00
saml-dev
0984a31798
Merge pull request #31 from saml-dev/adaptive-lighting
...
add adaptive lighting service
2025-01-20 20:30:29 -05:00
Sam Lewis
65672dc311
add adaptive lighting service
2025-01-20 20:30:07 -05:00
Jakub Zimny
98e3583c6f
No need to add as field struct
2025-01-20 23:39:53 +01:00
Jakub Zimny
5b43c79783
fix compilation error
2025-01-20 23:38:56 +01:00
Jakub Zimny
84f9726b09
Add functionality to list entities from REST endpoint
2025-01-20 23:32:12 +01:00
saml-dev
05131faa98
Merge pull request #29 from saml-dev/fix-urls
...
URL fixes
2025-01-19 21:26:12 -05:00
Sam Lewis
004e79749a
update README
2025-01-19 21:18:21 -05:00
Sam Lewis
56ccdfbdb2
two url fixes:
...
- default scheme for legacy connection params
- set paths for http and websocket APIs
2025-01-19 20:58:16 -05:00
saml-dev
c27e596dad
Merge pull request #26 from metalmatze/golanglint-ci-fixes
...
Fix default golanglint-ci errors
2025-01-17 21:25:44 -05:00
saml-dev
b37667f1db
Merge pull request #24 from metalmatze/service-errors
...
Return Service errors
2025-01-17 20:36:30 -05:00
Matthias Loibl
ccebcb869f
Fix default golanglint-ci errors
...
These errors show up when simply running `golangci-lint run ./...` on the project.
2025-01-17 17:59:30 +01:00
Matthias Loibl
02b6c413f1
Return Service errors
...
Additionally, removed the context that gets passed into the Services but isn't used in one of them. The websockets APIs also don't have any use for context.
2025-01-17 17:50:06 +01:00
saml-dev
24f814b768
Merge pull request #23 from metalmatze/url
...
Parse URL and pass it to clients
2025-01-17 09:03:12 -05:00
Matthias Loibl
b5d35235f8
Parse URL and pass it to clients
...
Right now, this SDK only works with IP:Port.
I'm however running on https://home.example.com and need https or wss and an implicit port 443.
Using net/url should be the best option.
2025-01-17 01:46:35 +01:00
saml-dev
066441762b
Merge pull request #19 from mhagger/too-many-slashes
2024-03-28 14:26:02 -04:00
Michael Haggerty
261a628542
SetupConnection(): remove excess slash in URI
...
The extra slash was added (presumably by accident) in
https://github.com/saml-dev/gome-assistant/pull/17 .
2024-03-23 23:48:10 +01:00
saml-dev
93600c2ed0
Merge pull request #17 from dsiebel/tls-support
2024-03-09 16:55:05 -05:00
saml-dev
93b79102e9
Merge pull request #18 from mhagger/fire-event
2024-03-09 16:52:35 -05:00
Michael Haggerty
68398b02b0
Add a way to fire Home Assistant events
2024-03-09 17:31:25 +01:00
Sam Lewis
c28cba8e91
add Script service
2024-02-25 21:49:04 -05:00
Dominik Siebel
8b436ce4ee
feat: support secure connections
2024-02-22 11:28:05 +01:00
Sam Lewis
a9aad16cf3
Merge branch 'main' of https://github.com/saml-dev/gome-assistant
2023-12-29 21:30:44 -05:00
Sam Lewis
47a9910fda
add zwavejs service
2023-12-29 21:30:41 -05:00
saml-dev
2133637bcf
Merge pull request #16 from jluzny/refactor/use-slog-library
...
Refactor/use slog library
2023-12-28 23:00:47 -05:00
Jiri Luzny
628544c7a0
Log and propagate error instead of using Fatal
2023-12-26 23:28:41 +01:00
Jiri Luzny
ccb0f19d41
Migrated rest of the obvious logs/prints to slog.
2023-12-09 22:01:32 +01:00
Jiri Luzny
b3a38013c6
Added daily schedule test. Migrated relevant files to slog.
2023-12-09 21:08:50 +01:00
Jiri Luzny
a4fbbe5ac3
Setup pretty logging and start refactoring of the library to slog
2023-12-09 21:08:50 +01:00
saml-dev
16fb52b8ee
Merge pull request #14 from jluzny/feature/example-of-simple-live-tests
2023-12-07 09:27:30 -05:00
Jiri Luzny
983ac712d8
Fixed typo in an assert message.
2023-12-05 19:04:01 +01:00
Jiri Luzny
596024ce25
Added check of entity state change callback.
2023-12-04 21:56:27 +01:00
Jiri Luzny
5b1ee13fa3
renamed to example package to allow correct build
2023-11-15 03:40:05 +01:00
Jiri Luzny
7aa407a515
Fix of assert condition
2023-11-12 21:50:50 +01:00
Jiri Luzny
60b851ddfa
aligned module name
2023-11-12 21:37:13 +01:00
Jiri Luzny
7c4e1ab8e3
Initial version of the sample live tests
2023-11-12 21:23:00 +01:00
saml-dev
701ff4df58
Merge pull request #12 from saml-dev/feat-enabled-disabled-list
...
feat: EnabledWhen / DisabledWhen upgrades
2023-10-23 11:12:10 -04:00
Sam Lewis
049b0e0011
add some unit tests for some of the checkers
2023-10-22 23:13:47 -04:00
Sam Lewis
1932f1edf7
make an interface for State object
2023-10-22 18:16:20 -04:00
Sam Lewis
824d6c12d1
refactor all automation types to take a list
2023-10-22 18:07:42 -04:00
Sam Lewis
3ec6608714
began refactor, added interface to set up for unit testing
2023-10-22 00:56:12 -04:00
saml-dev
025e7115fa
Merge pull request #11 from saml-dev/feat--enabled/disabled
...
Feat--enabled/disabled
2023-10-08 19:42:28 -04:00
Sam Lewis
3cb96800f9
allow empty string for state
2023-10-08 19:29:28 -04:00
Sam Lewis
9d7701c481
rename to DisabledWhen and EnabledWhen
2023-10-07 14:36:42 -04:00
Sam Lewis
a06f62d1ba
add enable/disable function to every builder
2023-10-07 14:02:24 -04:00
Sam Lewis
eb26a44459
two things:
...
fix bug with newer HA versions by sending int id instead of string
add warning to logs when receiving unsuccessful websocket response
2023-06-11 14:09:13 -04:00
saml-dev
d16f646423
Merge pull request #8 from LubosD/feature/fix-latlong-crash
...
Fix a crash in State.getLatLong()
2023-06-06 18:35:21 -04:00
Lubos Dolezel
ff9f6cb95e
Fix a crash in State.getLatLong()
2023-06-02 12:11:40 +02:00
Sam Lewis
1dd8eaa58d
add climate service
2023-05-01 00:53:52 -04:00