mario-peters / Domoticz-Home-Connect-Plugin

Domoticz Home-Connect Plugin
11 stars 7 forks source link

Error line 101 plugin.py when no icons available. #6

Closed GeitjeG closed 3 years ago

GeitjeG commented 3 years ago

I think because I have no specific icons for the plugin, I get an error in line 101 of plugin.py.

In line 101 of plugin.py code should be different I think? Domoticz.Device(Name="Operation state", Unit=1, TypeName="Text", Image=Images[self.HOMECONNECT_ICON].ID).Create() should be: Domoticz.Device(Name="Operation state", Unit=1, TypeName="Text").Create()

I changed it this way an the error is gone. I have no error so far. Devices are created (but this time I had to manually add them from devices tab to Utility/Temperature tab. This is no problem of course. My oven has not been used since, I will check it soon.

mario-peters commented 3 years ago

Fixed in the next commit.