Extract settings and harden geofence automation
This commit is contained in:
@@ -20,6 +20,7 @@ class GeofenceAutomationService {
|
||||
final apiKey = await _settingsService.requireHomeApiKey(home.id);
|
||||
await _invoke('armGeofence', {
|
||||
'homeId': home.id,
|
||||
'homeName': home.name,
|
||||
'baseUrl': home.url,
|
||||
'apiKey': apiKey,
|
||||
'latitude': home.latitude,
|
||||
|
||||
Reference in New Issue
Block a user