- Device & model you are using
- What dashboard are you using?
I have a connected and configured PiFace Digital 2. I’m able to control it and turn on/off the outputs. However, when I try to add a light switch to control it from there, I’m getting this in the log file:
2016-11-30 21:22:16 - WebIOPi - ERROR - Error while adding device JH7yMwxwuxIu5Muw(LightSwitch) : 'PiFaceDigital' object has no attribute 'setFunction'
and an error in the interface:
Please fix the following errors: Failed to add the sensor, please re-check your settings. Make sure you selected the correct Channel/Slave Address.