rvdvoorde / domoticz-homewizard

Plugin for Domoticz
http://www.domoticz.com/
GNU General Public License v3.0
12 stars 10 forks source link

smokedetector not found (version 1.0.2) #1

Closed rwaaren closed 7 years ago

rwaaren commented 7 years ago

Smokedetector was not found until I changed two lines in plugin.py from

if ( hw_types[str(sens_id)] == "smoke" ): elif ( sens_type == "smoke" ):

to

if ( hw_types[str(sens_id)] == "smoke868" ): elif ( sens_type == "smoke868" ):

rvdvoorde commented 7 years ago

Since smoke is also used as a device I added smoke and smoke868.

Thanks for you comment!