Skip to content

Commit

Permalink
Public API
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbadblunt committed Oct 9, 2019
1 parent 83bd84f commit 92b662f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/lightwave2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
DOMAIN: vol.Any({
vol.Required(CONF_USERNAME): cv.string,
vol.Required(CONF_PASSWORD): cv.string,
vol.Optional(CONF_BACKEND): [BACKEND_EMULATED, BACKEND_PUBLIC]
vol.Optional(CONF_BACKEND): vol.In([BACKEND_EMULATED, BACKEND_PUBLIC])
},
{
vol.Required(CONF_API_KEY): cv.string,
vol.Required(CONF_REFRESH_KEY): cv.string,
vol.Optional(CONF_BACKEND): [BACKEND_EMULATED, BACKEND_PUBLIC]
vol.Optional(CONF_BACKEND): vol.In([BACKEND_EMULATED, BACKEND_PUBLIC])
}
)
}, extra=vol.ALLOW_EXTRA)
Expand Down

0 comments on commit 92b662f

Please sign in to comment.