Closed zjhcr closed 6 months ago
These commands are already implemented as switch
entities: https://github.com/syssi/esphome-jk-bms/blob/main/components/jk_bms/switch/__init__.py#L18-L19
Please add these lines to your YAML configuration:
switch:
- platform: jk_bms
charging:
name: "${name} charging"
discharging:
name: "${name} discharging"
Hi, I get this. INFO ESPHome 2023.12.5 INFO Reading configuration esp8266-example.yaml... Failed config
switch.jk_bms: [source
Platform not found: 'switch.jk_bms'. platform: jk_bms charging: name: jk-bms charging discharging: name: jk-bms discharging
@AlbertWete Please create a new issue and provide your complete configuration YAML (esp8266-example.yaml
).
the UART command is below:
I have been tested these commands works well. I'd appreciate if you could add these function into esphome firmware? Thanks a lot.