Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

rrelande
Copy link

Adding support for querying display status

Copy link
Owner

@dudanov dudanov left a 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?

Comment on lines +126 to +127
/* DISPLAY LIGHT */
Display getLight() const { return static_cast<Display>(this->m_getValue(14,7,4)); }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/* 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)); }

Comment on lines +67 to +73
/// Enum for display light setting
enum Display : uint8_t {
/// Display is off
DISPLAY_OFF=7,
/// Display is on
DISPLAY_ON=0
};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// 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,
};

@rrelande
Copy link
Author

rrelande commented May 2, 2024

Thanks! Which air conditioner model uses this feature?

at least Midea air conditioners can switch off the display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants