mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Mark config flow fields as required (#51898)
* flo * goalzero * mutesync * ring * roon * risco * Ruckus Unleashed * Scaffold template
This commit is contained in:
@@ -16,7 +16,13 @@ from .const import DOMAIN
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# TODO adjust the data schema to the data that you need
|
||||
STEP_USER_DATA_SCHEMA = vol.Schema({"host": str, "username": str, "password": str})
|
||||
STEP_USER_DATA_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Required("host"): str,
|
||||
vol.Required("username"): str,
|
||||
vol.Required("password"): str,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
class PlaceholderHub:
|
||||
|
||||
Reference in New Issue
Block a user