Mark config flow fields as required (#51898)

* flo

* goalzero

* mutesync

* ring

* roon

* risco

* Ruckus Unleashed

* Scaffold template
This commit is contained in:
Milan Meulemans 2021-06-15 19:21:30 +02:00 committed by GitHub
parent 3488b78365
commit 63e20f2ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 29 additions and 9 deletions

View file

@ -18,7 +18,7 @@ from .const import DEFAULT_NAME, DOMAIN
_LOGGER = logging.getLogger(__name__)
DATA_SCHEMA = vol.Schema({"host": str, "name": str})
DATA_SCHEMA = vol.Schema({vol.Required("host"): str, vol.Required("name"): str})
class GoalZeroFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):