mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 14:53:49 +01:00
36 lines
713 B
YAML
36 lines
713 B
YAML
button:
|
|
- platform: bl0940
|
|
bl0940_id: test_id
|
|
name: Cal Reset
|
|
|
|
sensor:
|
|
- platform: bl0940
|
|
id: test_id
|
|
voltage:
|
|
name: BL0940 Voltage
|
|
current:
|
|
name: BL0940 Current
|
|
power:
|
|
name: BL0940 Power
|
|
energy:
|
|
name: BL0940 Energy
|
|
internal_temperature:
|
|
name: BL0940 Internal temperature
|
|
external_temperature:
|
|
name: BL0940 External temperature
|
|
|
|
number:
|
|
- platform: bl0940
|
|
id: bl0940_number_id
|
|
bl0940_id: test_id
|
|
current_calibration:
|
|
name: Cal Current
|
|
min_value: -5
|
|
max_value: 5
|
|
voltage_calibration:
|
|
name: Cal Voltage
|
|
step: 0.01
|
|
power_calibration:
|
|
name: Cal Power
|
|
disabled_by_default: true
|