12-23-2025, 08:42 PM
(12-21-2025, 01:35 PM)admin Wrote: use this yaml: https://www.kincony.com/forum/attachment.php?aid=8221
Still no good. I get an error about an issue with the github link not finding the init file.
Code:
external_components: [source /config/esphome/powermeter.yaml:10] - source: type: git url: https://github.com/hzkincony/esphome-zmpt101b components: Could not find __init__.py file for component ZMPT101B. Please check the component is defined by this source (search path: /data/external_components/11fcc513/components/ZMPT101B/__init__.py).Used this code to define the component but it still fails too:
Code:
external_components:
- source:
type: git
url: https://github.com/hzkincony/esphome-zmpt101b
components: [ZMPT101B]
refresh: 1min 
