Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run version > 1.11.0 #267

Open
jolypas opened this issue Aug 20, 2024 · 1 comment
Open

Cannot run version > 1.11.0 #267

jolypas opened this issue Aug 20, 2024 · 1 comment

Comments

@jolypas
Copy link

jolypas commented Aug 20, 2024

Describe the bug
Everething is running fine until 1.11.0
But when trying to upgrade ( 1.11.1 , ... , 1.11.4) , got follwoing error et module doesnt work

[15:53:42] INFO: Creating TheengsGateway configuration... [15:53:43] INFO: The MQTT Add-on is not available. [15:53:43] INFO: This is not a problem if you are using an external MQTT broker. [15:53:43] INFO: If you are using the Home Assistant Mosquitto Broker Add-on, try restarting it, and then restart this addon. [15:53:43] INFO: For an external broker, make sure you fill in the mqtt connection settings, and restart the addon. [15:53:46] INFO: IDENTITIES: [15:53:46] INFO: BINDKEYS: [15:53:46] INFO: BLACKLIST: [15:53:46] INFO: WHITELIST: [15:53:46] INFO: Starting TheengsGateway... Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/__main__.py", line 5, in <module> main() File "/usr/local/lib/python3.9/dist-packages/TheengsGateway/__init__.py", line 56, in main configuration["discovery_filter"].remove("GAEN") AttributeError: 'str' object has no attribute 'remove'

To Reproduce
Upgrade > 1.11.0

Informations système
Version core-2024.8.2
Type d'installation Home Assistant OS
Développement false
Supervisor true
Docker true
Utilisateur root
Environnement virtuel false
Version de Python 3.12.4
Famille du système d'exploitation Linux
Version du système d'exploitation 6.6.44-haos
Architecture du processeur x86_64
Fuseau horaire Europe/Paris
Répertoire de configuration /config

@mihsu81
Copy link

mihsu81 commented Aug 20, 2024

This issue would normally belong in the Add-On repo, where this question has been answered already.
It's always good to check if it has been opened already by somebody else instead of posting a new issue.
It's a bug in TGW 1.5.0 which can be resolved for now by removing all the filtering.
mihsu81/addon-theengsgw#36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants