moroen / IKEA-Tradfri-plugin

A Python plugin for Domoticz to controll IKEA Gateway
68 stars 23 forks source link

Typo in plugin.py (configuation instead of configuration) causing it to fail #145

Open tjhuisman opened 4 months ago

tjhuisman commented 4 months ago

I've had some issues getting the IKEA-tradfri plugin to work on my Debian 12 install. In the end when trying to set it up (python3 plugin.py gw IP KEY), I got the message "host_config'object has no attribute.

File "/home/domoticz/plugins/IKEA-Tradfri/plugin.py", line 107, in <module> CONF = get_config(CONFIGFILE).configuation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'host_config' object has no attribute 'configuation'. Did you mean: 'configuration'?

After correcting this typo, the plugin worked just fine.