Skip to content

Commit

Permalink
fix postal code lower case failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram van Dartel committed May 26, 2022
1 parent b2f97dc commit 3d1dcbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/afvalwijzer/const/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

API = "api"
NAME = "afvalwijzer"
VERSION = "2022.05.02"
VERSION = "2022.05.03"
ISSUE_URL = "https://github.com/xirixiz/homeassistant-afvalwijzer/issues"

_LOGGER = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/afvalwijzer/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "afvalwijzer",
"name": "Afvalwijzer",
"version": "2022.05.02",
"version": "2022.05.03",
"iot_class": "cloud_polling",
"documentation": "https://github.com/xirixiz/homeassistant-afvalwijzer/blob/master/README.md",
"issue_tracker": "https://github.com/xirixiz/homeassistant-afvalwijzer/issues",
Expand Down
4 changes: 2 additions & 2 deletions custom_components/afvalwijzer/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
vol.Optional(
CONF_COLLECTOR.strip().lower(), default="mijnafvalwijzer"
): cv.string,
vol.Required(CONF_POSTAL_CODE.strip().upper(), default="1234AB"): cv.string,
vol.Required(CONF_POSTAL_CODE.strip(), default="1234AB"): cv.string,
vol.Required(CONF_STREET_NUMBER.strip(), default="5"): cv.string,
vol.Optional(CONF_SUFFIX.strip().upper(), default=""): cv.string,
vol.Optional(CONF_SUFFIX.strip(), default=""): cv.string,
vol.Optional(CONF_EXCLUDE_PICKUP_TODAY.strip(), default="true"): cv.string,
vol.Optional(CONF_EXCLUDE_LIST.strip().lower(), default=""): cv.string,
vol.Optional(CONF_DEFAULT_LABEL.strip(), default="Geen"): cv.string,
Expand Down

0 comments on commit 3d1dcbe

Please sign in to comment.