Conversation

P-R-O-C-H-Y

Description of Change

This pull request introduces enhancements to the Zigbee Analog Input/Output functionality, focusing on adding support for setting minimum and maximum values for analog inputs and outputs. These changes improve configurability and enable better integration with Home Automation (HA) systems.

Tests scenarios

Tested using the Analog Input Output example and HA on beta version 2025.6.0b5, where the Analog Output range in HA is now limited to min/max value instead of 0-1023.

Related links

@P-R-O-C-H-YP-R-O-C-H-Y self-assigned this Jun 9, 2025
@P-R-O-C-H-YP-R-O-C-H-Y added Status: Review neededIssue or PR is awaiting reviewArea: ZigbeeIssues and Feature Request about Zigbeelabels Jun 9, 2025
@github-actionsGitHub Actions
Messages
📖🎉 Good Job! All checks are passing!

👋 Hello P-R-O-C-H-Y, we appreciate your contribution to this project!


📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more.

🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project.

Click to see more instructions ...


This automated output is generated by the PR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with each push event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger is not a substitute for human code reviews; it's still important to request a code review from your colleagues.
- To manually retry these Danger checks, please navigate to the Actions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫 dangerJS against ec747bb

@github-actionsGitHub Actions

Test Results

 76 files   76 suites   12m 41s ⏱️
 38 tests  38 ✅ 0 💤 0 ❌
241 runs  241 ✅ 0 💤 0 ❌

Results for commit ec747bb.

♻️ This comment has been updated with latest results.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a small suggestion.

@me-no-devme-no-dev added Status: Pending MergePull Request is ready to be mergedand removed Status: Review neededIssue or PR is awaiting reviewlabels Jun 10, 2025
@github-actionsGitHub Actions

Memory usage test (comparing PR against master branch)

The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.

MemoryFLASH [bytes]FLASH [%]RAM [bytes]RAM [%]
TargetDECINCDECINCDECINCDECINC
ESP32S30⚠️+2360.00⚠️+0.04000.000.00
ESP32S20⚠️+2280.00⚠️+0.04000.000.00
ESP32C30⚠️+2480.00⚠️+0.04000.000.00
ESP32C60⚠️+2460.00⚠️+0.04000.000.00
ESP32H20⚠️+2480.00⚠️+0.04000.000.00
ESP320⚠️+2280.00⚠️+0.03000.000.00
Click to expand the detailed deltas report [usage change in BYTES]
TargetESP32S3ESP32S2ESP32C3ESP32C6ESP32H2ESP32
ExampleFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAM
libraries/Zigbee/examples/Zigbee_Analog_Input_Output⚠️+2360⚠️+2280⚠️+2480⚠️+2460⚠️+2480⚠️+2280
libraries/Zigbee/examples/Zigbee_Color_Dimmer_Switch⚠️+560⚠️+560000000⚠️+560
libraries/Zigbee/examples/Zigbee_Electrical_AC_Sensor⚠️+560⚠️+560000000⚠️+560
libraries/Zigbee/examples/Zigbee_Electrical_AC_Sensor_MultiPhase⚠️+560⚠️+560000000⚠️+560
libraries/Zigbee/examples/Zigbee_Gateway⚠️+560⚠️+56000----⚠️+560
libraries/Zigbee/examples/Zigbee_On_Off_Switch⚠️+560⚠️+560000000⚠️+560
libraries/Zigbee/examples/Zigbee_Range_Extender⚠️+560⚠️+560000000⚠️+560
libraries/Zigbee/examples/Zigbee_Thermostat⚠️+560⚠️+560000000⚠️+560
libraries/Zigbee/examples/Zigbee_Binary_Input------0000--
libraries/Zigbee/examples/Zigbee_CarbonDioxide_Sensor------0000--
libraries/Zigbee/examples/Zigbee_Color_Dimmable_Light------0000--
libraries/Zigbee/examples/Zigbee_Contact_Switch------0000--
libraries/Zigbee/examples/Zigbee_Dimmable_Light------0000--
libraries/Zigbee/examples/Zigbee_Electrical_DC_Sensor------0000--
libraries/Zigbee/examples/Zigbee_Illuminance_Sensor------0000--
libraries/Zigbee/examples/Zigbee_OTA_Client------0000--
libraries/Zigbee/examples/Zigbee_Occupancy_Sensor------0000--
libraries/Zigbee/examples/Zigbee_On_Off_Light------0000--
libraries/Zigbee/examples/Zigbee_On_Off_MultiSwitch------0000--
libraries/Zigbee/examples/Zigbee_PM25_Sensor------0000--
libraries/Zigbee/examples/Zigbee_Power_Outlet------0000--
libraries/Zigbee/examples/Zigbee_Pressure_Flow_Sensor------0000--
libraries/Zigbee/examples/Zigbee_Scan_Networks------0000--
libraries/Zigbee/examples/Zigbee_Temp_Hum_Sensor_Sleepy------0000--
libraries/Zigbee/examples/Zigbee_Temperature_Sensor------0000--
libraries/Zigbee/examples/Zigbee_Vibration_Sensor------0000--
libraries/Zigbee/examples/Zigbee_Wind_Speed_Sensor------0000--
libraries/Zigbee/examples/Zigbee_Window_Covering------0000--

@me-no-devme-no-dev merged commit 0aada09 into master Jun 10, 2025
56 checks passed
@me-no-devme-no-dev deleted the feat/zigbee-analog-min-max branch June 10, 2025 08:31
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Area: ZigbeeIssues and Feature Request about ZigbeeStatus: Pending MergePull Request is ready to be merged

Successfully merging this pull request may close these issues.