A sensor that checks your Raspberry Pi charger so its not giving you undervoltage.
To get started put /custom_components/sensor/rpi_power.py here:
<config directory>/custom_components/sensor/rpi_power.py
Example configuration.yaml:
sensor:
platform: rpi_powerOptional config options:
| key | required | default | description |
|---|---|---|---|
| text_state | no | false |
Sets the desctiption as the state if true. |
Creative Commons Attribution-ShareAlike 4.0 International License
Due to how custom_componentes are loaded, it is normal to see a ModuleNotFoundError error on first boot after adding this, to resolve it, restart Home-Assistant.