mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Add moodlight brightness
This commit is contained in:
parent
5a847f0da2
commit
da9edfa8fa
@ -11,6 +11,13 @@ struct dispatch_conf_t
|
|||||||
uint16_t teleperiod;
|
uint16_t teleperiod;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct moodlight_t
|
||||||
|
{
|
||||||
|
uint8_t brightness;
|
||||||
|
uint8_t power;
|
||||||
|
uint8_t r, g, b;
|
||||||
|
};
|
||||||
|
|
||||||
enum hasp_event_t { // even = released, odd = pressed
|
enum hasp_event_t { // even = released, odd = pressed
|
||||||
HASP_EVENT_OFF = 0,
|
HASP_EVENT_OFF = 0,
|
||||||
HASP_EVENT_ON = 1,
|
HASP_EVENT_ON = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user