* Clamp Zigbee color saturation to 0-254
* Clamp hue to 0-254 for Zigbee color lights
* Use std::min instead of ternary operator
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* feat(zigbee): Support min max for Analog EP
* feat(zigbee): Use cfloat FLT_MAX
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* feat(zigbee): Add AC DC ElectricalMeasurement support
* ci(pre-commit): Apply automatic fixes
* ci(): fix precommit codespell
* ci(pre-commit): Add spaces between numbers and units
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
* feat(esp32): Zigbee power outlet example
Zigbee power outlet example
* feat(esp32): Zigbee power outlet example
Change username
* feat(esp32): Zigbee power outlet example
Remove old comment
* fix(zigbee): fix power outlet compile errors and update example
* fix(example): Update readme
* fix(example): Update ci json file
* ci(pre-commit): Apply automatic fixes
* fix(): precommit codespell
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(zigbeeEP): review of names and memory allocation
* fix(zigbeeEP): destructor shall free any allocated memory
* fix(zigbee_ep): forgotten var name change
* feat(zigbee_ep): use static heap memory for manufacturer and model names
* feat(zigbee_ep): changed model and manufacturer to heap
* feat(zigbee_ep): use static heap memory allocation
* fix(zigbee_ep): using stack only for adding attribute
* feat(zigbee_ep): reverting back read data type
* fix(zigbee_ep): rooling back to use malloc for remote attr reading
* feat(zigbee_ep): check malloc return for null
* fix(zigbee_ep): replace nullptr by NULL after C malloc()
* ci(pre-commit): Apply automatic fixes
* fix(zigbee_ep): fix variable scope
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(zigbee_ep): fix variable scope
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat(zigbee): Add checks on setting attrs and commands
* feat(zigbee): Add error info in the logs
* fix(zigbee): Fix memory leak, print esp_zb_zcl_status_t error, remove analogValue from analog EP
* feat(example): Update factoryResetoption in sleepy example
* fix(zigbee): Add error checks to Illuminance EP
* fix(zigbee): Return false on first error hit
* fix(zigbee): Apply same formatting on all returns
* fix(zigbee): Add check when adding a OTA cluster
* fix(zigbee): release locks before returning
* fix(zigbee): use correct return in doorWindowHandle
* fix/zigbee): Add missing return in WindowCovering
* fix(zigbee): Added a note of future task
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* feat(zigbee): Save network channel after 1st joining for faster rejoin
* ci(pre-commit): Apply automatic fixes
* feat(zigbee): Add channel mask reset after timeout
* feat(zigbee): Add the resetChannelMask to all Begin methods
* feaz(zigbee): Move function to private and add set method
* fix(example): Remove test from device mode name
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* ci(zigbee): Check if Zigbee is enabled for CI tests
* ci(zigbee): Fix requirements
* fix(zigbee): Use LED_BUILTIN for range extender
* fix(zigbee): Use default GPIO if LED_BUILTINnot defined
* IDF release/v5.4 bcb3c32d
* fix(zigbee): Remove the need of native ieee802154 radio
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
* feat(zigbee): Support HSV color commands
* ci(pre-commit): Apply automatic fixes
* feat(zigbee): Add hue and sat attributes and update color capabilities
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* feat(zigbee): Add OTA client cluster support
* feat(zigbee): Add conditions to reject OTA upgrade
* feat(zigbee): Add newest version of OTA handler
* fix(zigbee): Fix errors and warnings, swap parameters order
* feat(zigbee): Add simple OTA Client example
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>