pw_sensor: Enable YAML to Python sensor attribute changes Recent changes allow sensor attibute instances to optionally provide the channel and provide an optional trigger. Reflect these changes in the Python dataclass. BUG: b/386143823 Change-Id: I43c0be9c701724a5e376f9d01b21f7e90eaf037a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/269053 Docs-Not-Needed: Yuval Peress <peress@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Yuval Peress <peress@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.