esphome versions after 2022.2.6 fail to compile axp192 with the
following error:
File "/home/test/esphome/custom_components/axp192/sensor.py", line 16, in
sensor.sensor_schema(UNIT_PERCENT, ICON_BATTERY, 1).extend({
TypeError: sensor_schema() takes from 0 to 1 positional arguments but 3 were given
esphome versions after 2022.2.6 fail to compile axp192 with the following error:
File "/home/test/esphome/custom_components/axp192/sensor.py", line 16, in
sensor.sensor_schema(UNIT_PERCENT, ICON_BATTERY, 1).extend({
TypeError: sensor_schema() takes from 0 to 1 positional arguments but 3 were given