f0c48216fd3600a2d915a6c8a13af21b3ad3bc89
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 <module>
sensor.sensor_schema(UNIT_PERCENT, ICON_BATTERY, 1).extend({
TypeError: sensor_schema() takes from 0 to 1 positional arguments but 3 were given
Additional components to use esphome with a M5StickC.
Mostly a work in progress.
Copy the components to a custom_components directory next to your .yaml configuration file.
- axp192 : power management - configuration hard coded for the M5StickC - should be made more generic.
Must be present to initialize the screen power.
Can be also used to read some of the power info - most sensors aren't published yet.
Mostly the AXP192 from M5Stack sample code adapted for esphome. - st7735 : TFT screen - configuration hard coded for the M5StickC - should be made more generic.
Adapted from https://github.com/musk95/esphome-1/tree/dev/esphome/components/st7789v + M5StickC sample code for the init
Description
Languages
C++
91.2%
Python
8.8%