Adding to the Tasker plugin the possibility to choose which the sensor to use for the sleep monitoring

From Stefano on 2017/02/27 10:22:47 +0000

For example, in this way I could automatically use the Sonar when the phone is plugged to AC and when it’s not it could use only the accelerometer

Copied from original feature request: