DimmableDevice.h
Go to the documentation of this file.
Definition: Bridge.h:29
bool getAttribute(Attribute attr, unsigned &value) const override
Get the (cached) device attribute value.
Definition: DimmableDevice.h:33
Definition: DimmableDevice.h:26
Status setAttribute(Attribute attr, unsigned value, Callback callback) override
Set a device attribute.
Definition: DimmableDevice.h:44
Status
Status of a setAttribute request.
Definition: Libraries/HueEmulator/src/include/Hue/Device.h:60
Definition: Delegate.h:20
The action was performed immediately without error.
DimmableDevice(ID id, const String &name)
Definition: DimmableDevice.h:29
bool getAttribute(Attribute attr, unsigned &value) const override
Get the (cached) device attribute value.
Definition: OnOffDevice.h:43
Definition: OnOffDevice.h:26
Status setAttribute(Attribute attr, unsigned value, Callback callback) override
Set a device attribute.
Definition: OnOffDevice.h:54