thomas-villagers / domoticz-yamaha

Python plugin for Domoticz to control Yamaha AV Receivers (Aventage Series) via TCP/IP
GNU General Public License v3.0
17 stars 11 forks source link

Parameter Problem onMessage #25

Closed thomas-villagers closed 5 years ago

thomas-villagers commented 5 years ago

2018-09-14 09:54:22.012 Error: (Yamaha) 'onMessage' failed 'TypeError':'onMessage() missing 2 required positional arguments: 'status' and 'extra''.

thomas-villagers commented 5 years ago

see https://www.domoticz.com/wiki/Developing_a_Python_plugin onMessage has only 2 parameters.

thomas-villagers commented 5 years ago

hm, you could also make them default arguments: extra=None