ConfigFlow blank form

I’m trying to create a ConfigFlow for an existing integration but am stuck on just the form displaying text. The text entries are displayed for the 3 inputs but no descriptions

I enabled config_flow: true in the manifest.json
Created a strings.json and ran the command to populate the .translations/en.json file

const.py

"""Constants for Rainforest Eagle"""
DOMAIN = "rainforest_eagle"
CONF_CLOUD_ID = "cloudid"
CONF_INSTALL_CODE = "installcode"

config_flow.py

from homeassistant import config_entries
from homeassistant.const import CONF_HOST
import voluptuous as vol
from .const import (
    DOMAIN,
    CONF_CLOUD_ID,
    CONF_INSTALL_CODE,
)

DATA_SCHEMA = {
    vol.Required(CONF_HOST): str,
    vol.Required(CONF_CLOUD_ID): str,
    vol.Required(CONF_INSTALL_CODE): str,
}

class EagleConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
    """Config flow for Rainforest Eagle."""

    VERSION = 1

    async def async_step_user(self, user_input=None):
        if not user_input:
            return self.async_show_form(
                step_id="user",
                data_schema=DATA_SCHEMA,
                errors={}, description_placeholders={},
            )

strings.json

{
    "config": {
        "step": {
            "user": {
                "data": {
                    "cloudid": "Cloud ID",
                    "host": "Host",
                    "installcode": "Install Code"
                }
            }
        }
    }
}

Screen Shot 2020-11-18 at 12.39.58 PM

When I run HA and setup the integration the form is blank. I’m not expecting much right now except for descriptions to appear but I don’t see them. Am I missing something? Thank you!

It seems either the browser cache had to be cleared or re-running python3 -m script.hassfest has fixed my problem. I see the descriptions now!

Screen Shot 2020-11-18 at 12.50.32 PM

1 Like