Bot releases are visible (Hide)
Published by bgoncal 6 months ago
Full Changelog: https://github.com/home-assistant/HAKit/compare/0.4.1...0.4.2
Full Changelog: https://github.com/home-assistant/HAKit/compare/0.4...0.4.1
Published by bgoncal 6 months ago
Full Changelog: https://github.com/home-assistant/HAKit/compare/0.4...0.4.1
Published by bgoncal 8 months ago
Full Changelog: https://github.com/home-assistant/HAKit/compare/0.3...0.4
Published by zacwest over 3 years ago
shouldRetry
) when the HA config changes or components are loaded.HAConnectionInfo
now has a throwing initializer. See HAConnectionInfo.CreationError
for details.Published by zacwest over 3 years ago
User-Agent
header in connection via HAConnectionInfo
.Host
header now properly excludes port so we match URLSession behavior.name
was added.Published by zacwest over 3 years ago
HAGlobal
's log
block now contains a log level, either info
or error
.HACache<T>
populate now contains more information.Published by zacwest over 3 years ago
HACache<T>
which can send requests and subscribe to events to keep its value up-to-date.HACachesContainer
accessible as connection.caches
which contains built-in caches.connection.caches.states
which contains and keeps up-to-date all entity states.connection.caches.user
which contains the current user.PromiseKit
target/subspec.HAMockConnection
target/subspec for use in test cases.connectAutomatically
parameter to connection creation. This will call connect()
when requests are sent if not connected..getServices()
typed request..getStates()
typed request.attributes
and context
on HAEntity
are now represented by parsed types.connect()
when already connected no longer disconnects and reconnects.cancel()
on a subscription more than once or on a non-retried subscription sends multiple unsubscribe requests.Published by zacwest over 3 years ago
Initial release. Still under heavy development.