-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding light capability #7
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Which air conditioner model uses this feature?
/* DISPLAY LIGHT */ | ||
Display getLight() const { return static_cast<Display>(this->m_getValue(14,7,4)); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* DISPLAY LIGHT */ | |
Display getLight() const { return static_cast<Display>(this->m_getValue(14,7,4)); } | |
/* DISPLAY LIGHT */ | |
Display getLight() const { return static_cast<Display>(this->m_getValue(14, 7, 4)); } |
/// Enum for display light setting | ||
enum Display : uint8_t { | ||
/// Display is off | ||
DISPLAY_OFF=7, | ||
/// Display is on | ||
DISPLAY_ON=0 | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Enum for display light setting | |
enum Display : uint8_t { | |
/// Display is off | |
DISPLAY_OFF=7, | |
/// Display is on | |
DISPLAY_ON=0 | |
}; | |
/// Enum for display light setting | |
enum Display : uint8_t { | |
/// Display is off | |
DISPLAY_OFF = 7, | |
/// Display is on | |
DISPLAY_ON = 0, | |
}; |
at least Midea air conditioners can switch off the display. |
Adding support for querying display status