Skip to content

Commit

Permalink
fix config flow description not visable
Browse files Browse the repository at this point in the history
  • Loading branch information
FaserF committed Oct 17, 2022
1 parent 874dfbd commit dc3e6cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions custom_components/foodsharing/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ async def async_step_user(self, user_input=None):
CONF_LONGITUDE_FS, default=self.hass.config.longitude
): cv.string,
vol.Required(CONF_DISTANCE, default=7): cv.positive_int,
vol.Required(CONF_EMAIL, default="[email protected]"): str,
vol.Required(CONF_PASSWORD, default="mySecretPassword"): str,
vol.Required(CONF_EMAIL): str,
vol.Required(CONF_PASSWORD): str,
vol.Required(CONF_SCAN_INTERVAL, default=2): cv.positive_int,
},
)
Expand Down
12 changes: 6 additions & 6 deletions custom_components/foodsharing/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
ATTR_LONGITUDE = "longitude"
ATTR_MAPS_LINK = "maps"

CONF_EMAIL = "Foodsharing.de E-Mail Address"
CONF_PASSWORD = "Foodsharing.de Password"
CONF_LATITUDE_FS = "Latitude Coordinate"
CONF_LONGITUDE_FS = "Longitude Coordinate"
CONF_DISTANCE = "Distance in km"
CONF_SCAN_INTERVAL = "Scan interval in minutes"
CONF_EMAIL = "email"
CONF_PASSWORD = "password"
CONF_LATITUDE_FS = "latitude"
CONF_LONGITUDE_FS = "longitude"
CONF_DISTANCE = "distance"
CONF_SCAN_INTERVAL = "scan_interval"

0 comments on commit dc3e6cf

Please sign in to comment.