I’m trying to read the ‘light_temperature’ of a zigbee lightbulb.
setting the value using device.setCapabilityValue('light_temperature, .2) is working without problems.
But reading the value: lighttemp = device.getCapabilityValue(‘light_temperature’) gives an error;
TypeError: device.getCapabilityValue is not a function.
The getCapabilityValue is a valid method. So why is it not a function? How to get this value anyway?