Skip to content

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.

2 participants