feat: added getting status

This commit is contained in:
aZholtikov committed 2025-12-04 19:25:06 +03:00
1 parent ff7bcb7cba
commit 3ed2a77ea5
3 files changed
+20 -1

No files matched your search

+9
View File
@@ -76,6 +76,15 @@ extern "C"
*/
esp_err_t zh_ac_dimmer_set(uint8_t value);
/**
* @brief Get AC dimmer dimming value.
*
* @param[out] value Pointer to dimming value.
*
* @return ESP_OK if success or an error code otherwise.
*/
esp_err_t zh_ac_dimmer_get(uint8_t *value);
#ifdef __cplusplus
}
#endif