Add pin code support to the Risco integration (#39177)

* Pin code support for Risco

* Remove unused parameter

* Fix imports

* Fix typo

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
This commit is contained in:
On FreundandChris Talkington authored and GitHub committed 2020-08-23 12:34:30 -05:00
1 parent 9e3f7ac8df
commit 15c101e85d
6 files changed
+155 -35

No files matched your search

+5 -1
View File
@@ -129,7 +129,11 @@ async def test_form_already_exists(hass):
async def test_options_flow(hass):
"""Test options flow."""
conf = {"scan_interval": 10}
conf = {
"scan_interval": 10,
"code_arm_required": True,
"code_disarm_required": True,
}
entry = MockConfigEntry(
domain=DOMAIN, unique_id=TEST_DATA["username"], data=TEST_DATA,