danimtb / sonoff-danimtb

Alternative firmware for Itead Sonoff (ESP8266/ESP8285 based) devices to use them in Home Assistant
12 stars 3 forks source link

Long press reboots the device #30

Open lasote opened 6 years ago

lasote commented 6 years ago

With ewelink single, no secondary topic configured. If I press a couple of seconds and release, it reboots the device.

lasote commented 6 years ago

Also in double

lasote commented 6 years ago

Would be nice if, when the second topic is not configured, uses the first topic, as a regular short press.