diff --git a/custom_components/shopping_list/README.md b/custom_components/custom_shopping_list/README.md similarity index 100% rename from custom_components/shopping_list/README.md rename to custom_components/custom_shopping_list/README.md diff --git a/custom_components/shopping_list/__init__.py b/custom_components/custom_shopping_list/__init__.py similarity index 100% rename from custom_components/shopping_list/__init__.py rename to custom_components/custom_shopping_list/__init__.py diff --git a/custom_components/custom_shopping_list/__pycache__/__init__.cpython-38.pyc b/custom_components/custom_shopping_list/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..7bd824d Binary files /dev/null and b/custom_components/custom_shopping_list/__pycache__/__init__.cpython-38.pyc differ diff --git a/custom_components/custom_shopping_list/__pycache__/bring.cpython-38.pyc b/custom_components/custom_shopping_list/__pycache__/bring.cpython-38.pyc new file mode 100644 index 0000000..1037ea7 Binary files /dev/null and b/custom_components/custom_shopping_list/__pycache__/bring.cpython-38.pyc differ diff --git a/custom_components/custom_shopping_list/__pycache__/config_flow.cpython-38.pyc b/custom_components/custom_shopping_list/__pycache__/config_flow.cpython-38.pyc new file mode 100644 index 0000000..b8e52a4 Binary files /dev/null and b/custom_components/custom_shopping_list/__pycache__/config_flow.cpython-38.pyc differ diff --git a/custom_components/custom_shopping_list/__pycache__/const.cpython-38.pyc b/custom_components/custom_shopping_list/__pycache__/const.cpython-38.pyc new file mode 100644 index 0000000..2f17551 Binary files /dev/null and b/custom_components/custom_shopping_list/__pycache__/const.cpython-38.pyc differ diff --git a/custom_components/shopping_list/bring.py b/custom_components/custom_shopping_list/bring.py similarity index 100% rename from custom_components/shopping_list/bring.py rename to custom_components/custom_shopping_list/bring.py diff --git a/custom_components/shopping_list/config_flow.py b/custom_components/custom_shopping_list/config_flow.py similarity index 100% rename from custom_components/shopping_list/config_flow.py rename to custom_components/custom_shopping_list/config_flow.py diff --git a/custom_components/shopping_list/const.py b/custom_components/custom_shopping_list/const.py similarity index 100% rename from custom_components/shopping_list/const.py rename to custom_components/custom_shopping_list/const.py diff --git a/custom_components/shopping_list/intent.py b/custom_components/custom_shopping_list/intent.py similarity index 100% rename from custom_components/shopping_list/intent.py rename to custom_components/custom_shopping_list/intent.py diff --git a/custom_components/shopping_list/manifest.json b/custom_components/custom_shopping_list/manifest.json similarity index 100% rename from custom_components/shopping_list/manifest.json rename to custom_components/custom_shopping_list/manifest.json diff --git a/custom_components/shopping_list/requirements.txt b/custom_components/custom_shopping_list/requirements.txt similarity index 100% rename from custom_components/shopping_list/requirements.txt rename to custom_components/custom_shopping_list/requirements.txt diff --git a/custom_components/custom_shopping_list/scratch.py b/custom_components/custom_shopping_list/scratch.py new file mode 100644 index 0000000..89e8ec8 --- /dev/null +++ b/custom_components/custom_shopping_list/scratch.py @@ -0,0 +1,13 @@ +import asyncio + +from bring import BringApi + +loop = asyncio.get_event_loop() +api = BringApi("vlebourl@gmail.com", "qTJ4zcTitu9LWb") +loop.run_until_complete(api.login()) +loop.run_until_complete(api.get_lists()) + +api.select_list("Maison") + + +print("logged in") diff --git a/custom_components/shopping_list/services.yaml b/custom_components/custom_shopping_list/services.yaml similarity index 100% rename from custom_components/shopping_list/services.yaml rename to custom_components/custom_shopping_list/services.yaml diff --git a/custom_components/shopping_list/strings.json b/custom_components/custom_shopping_list/strings.json similarity index 100% rename from custom_components/shopping_list/strings.json rename to custom_components/custom_shopping_list/strings.json diff --git a/custom_components/shopping_list/translations/ca.json b/custom_components/custom_shopping_list/translations/ca.json similarity index 100% rename from custom_components/shopping_list/translations/ca.json rename to custom_components/custom_shopping_list/translations/ca.json diff --git a/custom_components/shopping_list/translations/cs.json b/custom_components/custom_shopping_list/translations/cs.json similarity index 100% rename from custom_components/shopping_list/translations/cs.json rename to custom_components/custom_shopping_list/translations/cs.json diff --git a/custom_components/shopping_list/translations/de.json b/custom_components/custom_shopping_list/translations/de.json similarity index 100% rename from custom_components/shopping_list/translations/de.json rename to custom_components/custom_shopping_list/translations/de.json diff --git a/custom_components/shopping_list/translations/en.json b/custom_components/custom_shopping_list/translations/en.json similarity index 100% rename from custom_components/shopping_list/translations/en.json rename to custom_components/custom_shopping_list/translations/en.json diff --git a/custom_components/shopping_list/translations/es-419.json b/custom_components/custom_shopping_list/translations/es-419.json similarity index 100% rename from custom_components/shopping_list/translations/es-419.json rename to custom_components/custom_shopping_list/translations/es-419.json diff --git a/custom_components/shopping_list/translations/es.json b/custom_components/custom_shopping_list/translations/es.json similarity index 100% rename from custom_components/shopping_list/translations/es.json rename to custom_components/custom_shopping_list/translations/es.json diff --git a/custom_components/shopping_list/translations/et.json b/custom_components/custom_shopping_list/translations/et.json similarity index 100% rename from custom_components/shopping_list/translations/et.json rename to custom_components/custom_shopping_list/translations/et.json diff --git a/custom_components/shopping_list/translations/fr.json b/custom_components/custom_shopping_list/translations/fr.json similarity index 100% rename from custom_components/shopping_list/translations/fr.json rename to custom_components/custom_shopping_list/translations/fr.json diff --git a/custom_components/shopping_list/translations/hu.json b/custom_components/custom_shopping_list/translations/hu.json similarity index 100% rename from custom_components/shopping_list/translations/hu.json rename to custom_components/custom_shopping_list/translations/hu.json diff --git a/custom_components/shopping_list/translations/it.json b/custom_components/custom_shopping_list/translations/it.json similarity index 100% rename from custom_components/shopping_list/translations/it.json rename to custom_components/custom_shopping_list/translations/it.json diff --git a/custom_components/shopping_list/translations/ko.json b/custom_components/custom_shopping_list/translations/ko.json similarity index 100% rename from custom_components/shopping_list/translations/ko.json rename to custom_components/custom_shopping_list/translations/ko.json diff --git a/custom_components/shopping_list/translations/lb.json b/custom_components/custom_shopping_list/translations/lb.json similarity index 100% rename from custom_components/shopping_list/translations/lb.json rename to custom_components/custom_shopping_list/translations/lb.json diff --git a/custom_components/shopping_list/translations/nl.json b/custom_components/custom_shopping_list/translations/nl.json similarity index 100% rename from custom_components/shopping_list/translations/nl.json rename to custom_components/custom_shopping_list/translations/nl.json diff --git a/custom_components/shopping_list/translations/no.json b/custom_components/custom_shopping_list/translations/no.json similarity index 100% rename from custom_components/shopping_list/translations/no.json rename to custom_components/custom_shopping_list/translations/no.json diff --git a/custom_components/shopping_list/translations/pl.json b/custom_components/custom_shopping_list/translations/pl.json similarity index 100% rename from custom_components/shopping_list/translations/pl.json rename to custom_components/custom_shopping_list/translations/pl.json diff --git a/custom_components/shopping_list/translations/pt-BR.json b/custom_components/custom_shopping_list/translations/pt-BR.json similarity index 100% rename from custom_components/shopping_list/translations/pt-BR.json rename to custom_components/custom_shopping_list/translations/pt-BR.json diff --git a/custom_components/shopping_list/translations/pt.json b/custom_components/custom_shopping_list/translations/pt.json similarity index 100% rename from custom_components/shopping_list/translations/pt.json rename to custom_components/custom_shopping_list/translations/pt.json diff --git a/custom_components/shopping_list/translations/ru.json b/custom_components/custom_shopping_list/translations/ru.json similarity index 100% rename from custom_components/shopping_list/translations/ru.json rename to custom_components/custom_shopping_list/translations/ru.json diff --git a/custom_components/shopping_list/translations/sk.json b/custom_components/custom_shopping_list/translations/sk.json similarity index 100% rename from custom_components/shopping_list/translations/sk.json rename to custom_components/custom_shopping_list/translations/sk.json diff --git a/custom_components/shopping_list/translations/sl.json b/custom_components/custom_shopping_list/translations/sl.json similarity index 100% rename from custom_components/shopping_list/translations/sl.json rename to custom_components/custom_shopping_list/translations/sl.json diff --git a/custom_components/shopping_list/translations/zh-Hant.json b/custom_components/custom_shopping_list/translations/zh-Hant.json similarity index 100% rename from custom_components/shopping_list/translations/zh-Hant.json rename to custom_components/custom_shopping_list/translations/zh-Hant.json