Improve Home Assistant connection reliability

This commit is contained in:
2026-07-27 16:23:40 -07:00
parent b7ec774efd
commit f3341ee064
16 changed files with 1696 additions and 697 deletions
@@ -8,7 +8,7 @@
import Foundation
enum ConnectionStatus
enum ConnectionStatus: Equatable
{
case disconnected
case connecting
@@ -19,6 +19,7 @@ enum ConnectionStatus
protocol ServerDelegate: AnyObject
{
func server(_ server: Server, deviceChangedState: AnyDevice)
func server(_ server: Server, connectionStatusChanged status: ConnectionStatus)
}
protocol Server: AnyObject
@@ -44,4 +45,3 @@ protocol Server: AnyObject
/// Returns true if this is a device this server is responsible for
func responsibleForDevice(_ device: AnyDevice) -> Bool
}