Need help reading device attributes in device driver code

I simply want to print the current value of the Volume attribute of the audiovolume device capatability i might be way off-track here Im very new to coding

heres what i have

no idea what im doing lol any help is appreciated

It's device.getCurrentValue("volume")

1 Like

damn you guys are fast thanks for the help man.

1 Like