feat: added getting status

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

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