zigpy / zha

Zigbee Home Automation
Apache License 2.0
21 stars 19 forks source link

Fix `number` platform not having a consistent API #66

Closed puddly closed 3 months ago

puddly commented 3 months ago

We have two independent platform implementations: one for Number and one for NumberConfigurationEntity. The latter did not have a name attribute. I've renamed it to description for clarity and implemented it on both.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.37%. Comparing base (e03ef3b) to head (02e23f9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #66 +/- ## ======================================= Coverage 95.37% 95.37% ======================================= Files 61 61 Lines 9338 9341 +3 ======================================= + Hits 8906 8909 +3 Misses 432 432 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.