forked from thetoothpick/span-hacs
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from etmelvin/main
Added the ability to specify scan intervals in seconds when configuring integration
- Loading branch information
Showing
5 changed files
with
121 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,54 @@ | ||
{ | ||
"config": { | ||
"abort": { | ||
"no_devices_found": "No devices found on the network", | ||
"already_configured": "Span Panel already configured. Only a single configuration is possible.", | ||
"reauth_successful": "Authentication successful." | ||
}, | ||
"error": { | ||
"cannot_connect": "Failed to connect to Span Panel", | ||
"invalid_auth": "Invalid authentication", | ||
"unknown": "Unexpected error" | ||
}, | ||
"flow_title": "Span Panel ({host})", | ||
"step": { | ||
"confirm_discovery": { | ||
"description": "Do you want to setup Span Panel at {host}?", | ||
"title": "Connect to the Span Panel" | ||
}, | ||
"user": { | ||
"data": { | ||
"host": "Host" | ||
}, | ||
"title": "Connect to the Span Panel" | ||
}, | ||
"auth_menu": { | ||
"title": "Choose Authentication Options", | ||
"menu_options": { | ||
"auth_proximity": "Authenticate through your physical Span Panel", | ||
"auth_token": "Authenticate using an access token" | ||
} | ||
}, | ||
"auth_proximity": { | ||
"title": "Proximity Authentication", | ||
"description": "Please open and close the Span Panel door {remaining} times." | ||
}, | ||
"auth_token": { | ||
"title": "Manual Token Authentication", | ||
"description": "Please enter your access token:", | ||
"data": { | ||
"access_token": "Access Token" | ||
} | ||
} | ||
} | ||
} | ||
"config": { | ||
"abort": { | ||
"no_devices_found": "No devices found on the network", | ||
"already_configured": "Span Panel already configured. Only a single configuration is possible.", | ||
"reauth_successful": "Authentication successful." | ||
}, | ||
"error": { | ||
"cannot_connect": "Failed to connect to Span Panel", | ||
"invalid_auth": "Invalid authentication", | ||
"unknown": "Unexpected error" | ||
}, | ||
"flow_title": "Span Panel ({host})", | ||
"step": { | ||
"confirm_discovery": { | ||
"description": "Do you want to setup Span Panel at {host}?", | ||
"title": "Connect to the Span Panel" | ||
}, | ||
"user": { | ||
"data": { | ||
"host": "Host" | ||
}, | ||
"title": "Connect to the Span Panel" | ||
}, | ||
"auth_menu": { | ||
"title": "Choose Authentication Options", | ||
"menu_options": { | ||
"auth_proximity": "Authenticate through your physical Span Panel", | ||
"auth_token": "Authenticate using an access token" | ||
} | ||
}, | ||
"auth_proximity": { | ||
"title": "Proximity Authentication", | ||
"description": "Please open and close the Span Panel door {remaining} times." | ||
}, | ||
"auth_token": { | ||
"title": "Manual Token Authentication", | ||
"description": "Please enter your access token:", | ||
"data": { | ||
"access_token": "Access Token" | ||
} | ||
} | ||
} | ||
}, | ||
"options": { | ||
"step": { | ||
"init": { | ||
"data": { | ||
"scan_interval": "Scan interval in seconds" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,5 +41,14 @@ | |
} | ||
} | ||
} | ||
}, | ||
"options": { | ||
"step": { | ||
"init": { | ||
"data": { | ||
"scan_interval": "Scan interval in seconds" | ||
} | ||
} | ||
} | ||
} | ||
} |