We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe0450 commit 44c3684Copy full SHA for 44c3684
components/nspanel_easy/hardware.h
@@ -42,6 +42,12 @@ namespace nspanel_easy {
42
// Note: hardware_settings_raw is declared as uint8_t in ESPHome YAML with restore_value: true
43
// Use the helper function below to access it as a HardwareSettings struct
44
45
+ // Note: hardware_settings_raw is declared as uint8_t in ESPHome YAML with restore_value: true
46
+ // Use the helper function below to access it as a HardwareSettings struct
47
+
48
+ inline HardwareSettings from_raw(uint8_t raw);
49
+ inline uint8_t to_raw(const HardwareSettings& s);
50
51
/**
52
* `@brief` Get hardware settings from the raw uint8_t
53
* `@param` raw_value The uint8_t global variable from YAML
0 commit comments