forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Config flow for doorbird (home-assistant#33165)
* Config flow for doorbird * Discoverable via zeroconf * Fix zeroconf test * add missing return * Add a test for legacy over ride url (will go away when refactored to cloud hooks) * Update homeassistant/components/doorbird/__init__.py Co-Authored-By: Paulus Schoutsen <[email protected]> * without getting the hooks its not so useful * Update homeassistant/components/doorbird/config_flow.py Co-Authored-By: Paulus Schoutsen <[email protected]> * fix copy pasta * remove identifiers since its in connections * self review fixes Co-authored-by: Paulus Schoutsen <[email protected]>
- Loading branch information
Showing
17 changed files
with
804 additions
and
123 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"options" : { | ||
"step" : { | ||
"init" : { | ||
"data" : { | ||
"events" : "Comma separated list of events." | ||
}, | ||
"description" : "Add an comma separated event name for each event you wish to track. After entering them here, use the DoorBird app to assign them to a specific event. See the documentation at https://www.home-assistant.io/integrations/doorbird/#events. Example: somebody_pressed_the_button, motion" | ||
} | ||
} | ||
}, | ||
"config" : { | ||
"step" : { | ||
"user" : { | ||
"title" : "Connect to the DoorBird", | ||
"data" : { | ||
"password" : "Password", | ||
"host" : "Host (IP Address)", | ||
"name" : "Device Name", | ||
"username" : "Username" | ||
} | ||
} | ||
}, | ||
"abort" : { | ||
"already_configured" : "This DoorBird is already configured" | ||
}, | ||
"title" : "DoorBird", | ||
"error" : { | ||
"invalid_auth" : "Invalid authentication", | ||
"unknown" : "Unexpected error", | ||
"cannot_connect" : "Failed to connect, please try again" | ||
} | ||
} | ||
} |
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
Oops, something went wrong.