Closed r-poulsen closed 2 years ago
ok, got it, missed that one. Thanks, will fix in next release.
If this is not complicated for you, can you grab this from the repo https://github.com/bruxy70/Garbage-Collection/blob/master/custom_components/garbage_collection/config_flow.py Put in in your custom_components/garbage_collection, restart and let me know if everything else works? Thanks for help!
Awesome, that works, thank you :-)
Before you submit a new bug report, please check that
Describe the bug
When adding a collection schedule with frequency blank, I am prompted to input additional parameters, with no parameters to input.
Configuration
{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.2.5", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.9.7", "docker": true, "arch": "aarch64", "timezone": "Europe/Copenhagen", "os_name": "Linux", "os_version": "5.10.98", "supervisor": "2022.01.1", "host_os": "Home Assistant OS 7.4", "docker_version": "20.10.9", "chassis": "embedded", "run_as_root": true }, "custom_components": { "huesyncbox": { "version": "1.17.0", "requirements": [ "aiohuesyncbox==0.0.20" ] }, "iphonedetect": { "version": "1.4.0", "requirements": [] }, "eloverblik": { "version": "0.2.0", "requirements": [ "pyeloverblik==0.1.0" ] }, "zoom": { "version": "v0.8.2", "requirements": [] }, "ourgroceries": { "version": "1.3.10", "requirements": [ "ourgroceries==1.3.9" ] }, "average": { "version": "2.2.1", "requirements": [] }, "hacs": { "version": "1.22.0", "requirements": [ "aiogithubapi>=21.11.0" ] }, "slack_user": { "version": "0.4.1", "requirements": [ "slackclient==2.5.0" ] }, "spotcast": { "version": "v3.6.24", "requirements": [ "spotify_token==1.0.0" ] }, "garbage_collection": { "version": "4.4.2", "requirements": [ "python-dateutil>=2.8.1" ] }, "fuelfinder": { "version": "0.0.1", "requirements": [] } }, "integration_manifest": { "domain": "garbage_collection", "name": "Garbage Collection", "version": "4.4.2", "documentation": "https://github.com/bruxy70/Garbage-Collection/", "issue_tracker": "https://github.com/bruxy70/Garbage-Collection/issues", "iot_class": "calculated", "dependencies": [], "config_flow": true, "codeowners": [ "@bruxy70" ], "requirements": [ "python-dateutil>=2.8.1" ], "is_built_in": false }, "data": { "entity_id": "sensor.mad_restaffald", "state": 2, "attributes": { "next_date": "2022-02-17T00:00:00+01:00", "days": 7, "last_collection": "2022-02-03T10:27:58.388235+01:00", "last_updated": "2022-02-10T14:52:30.918758+01:00", "device_class": "garbage_collection__schedule" }, "config_entry": { "entry_id": "63cb9a14caa16dcecfbe691ec78e4abe", "version": 4, "domain": "garbage_collection", "title": "Mad/Restaffald", "data": { "unique_id": "7e84baea-cd4a-4077-9563-7a6944285e05", "frequency": "group", "icon_normal": "mdi:trash-can", "icon_today": "mdi:delete-restore", "icon_tomorrow": "mdi:delete-circle", "verbose_format": "on {date}, in {days} days", "date_format": "%d-%b-%Y", "entities": [ "sensor.mad_restaffald_hver_2_torsdag", "sensor.mad_restaffald_ekstra_afhentning" ] }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": null, "disabled_by": null } } }
Debug logs