Mark config flow fields as required (#51898)
* flo * goalzero * mutesync * ring * roon * risco * Ruckus Unleashed * Scaffold template
This commit is contained in:
parent
3488b78365
commit
63e20f2ced
8 changed files with 29 additions and 9 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue