Skip to content

Commit

Permalink
Merge pull request #541 from robbrad/fix_custom_comp
Browse files Browse the repository at this point in the history
Fix custom comp
  • Loading branch information
robbrad authored Jan 7, 2024
2 parents 5488e54 + 199daae commit 86ba39d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions custom_components/uk_bin_collection/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ async def get_council_schema(self, council=str) -> vol.Schema:
council_schema = council_schema.extend(
{vol.Required("web_driver", default=""): cv.string}
)
council_schema = council_schema.extend(
{vol.Optional("headless", default=True): cv.boolean}
)

return council_schema

async def async_step_user(self, user_input=None):
Expand Down
1 change: 0 additions & 1 deletion custom_components/uk_bin_collection/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"number": "House number of the address",
"usrn": "USRN (Unique Street Reference Number)",
"web_driver": "URL of the remote Selenium web driver to use",
"headless": "Run Selenium in headless mode?",
"submit": "Submit"
},
"description": "Please refer to your councils [wiki](https://github.com/robbrad/UKBinCollectionData/wiki/Councils) entry for details on what to enter"
Expand Down
1 change: 0 additions & 1 deletion custom_components/uk_bin_collection/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"number": "House number of the address",
"usrn": "USRN (Unique Street Reference Number)",
"web_driver": "URL of the remote Selenium web driver to use",
"headless": "Run Selenium in headless mode?",
"submit": "Submit"
},
"description": "Please refer to your councils [wiki](https://github.com/robbrad/UKBinCollectionData/wiki/Councils) entry for details on what to enter"
Expand Down

0 comments on commit 86ba39d

Please sign in to comment.