Refactor driver to use Sensor API

This commit is contained in:
Nick
2020-10-23 00:45:59 -05:00
parent f5909f9c26
commit 3082455aec
5 changed files with 162 additions and 47 deletions

View File

@@ -6,4 +6,9 @@ description: Battery SoC monitoring using voltage divider
compatible: "zmk,battery-voltage-divider"
include: voltage-divider.yaml
properties:
label:
required: true
type: string