Skip to content

Commit

Permalink
Update config flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmanning-cr committed May 18, 2023
1 parent b35ec06 commit 490eed1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/pisugar/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

DATA_SCHEMA = vol.Schema(
{
vol.Required(CONF_NAME): cv.string,
vol.Required(CONF_HOST): cv.string,
vol.Optional(CONF_PORT, default=5000): cv.port,
vol.Required(CONF_NAME, description={"suggested_value": "PiSugar"}): cv.string,
vol.Required(CONF_HOST, description={"placeholder": "Enter the host/IP address"}): cv.string,
vol.Optional(CONF_PORT, default=8123, description={"placeholder": "Enter the port"}): cv.port,
}
)

Expand Down

0 comments on commit 490eed1

Please sign in to comment.