Skip to content
Snippets Groups Projects
Commit 3a1e0f67 authored by 3d's avatar 3d
Browse files

Update esphome_power.yaml

parent 365e09a7
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,10 @@ modbus_controller:
- id: sdm630m
address: 0x01
modbus_id: modbus_sdm
update_interval: 30s
update_interval: 20s
sensor:
- platform: sdm_meter
phase_a:
......@@ -79,14 +80,24 @@ sensor:
name: "Total Power"
import_active_energy:
name: "Import Active Energy"
id: import_energy
export_active_energy:
name: "Export Active Energy"
id: export_energy
import_reactive_energy:
name: "Import Reactive Energy"
export_reactive_energy:
name: "Export Reactive Energy"
update_interval: 60s
update_interval: 20s
- platform: template
name: "Net Consumption Energy"
accuracy_decimals: 2
update_interval: 20s
unit_of_measurement: 'kWh'
state_class: total
lambda: return id(import_energy).state - id(export_energy).state;
binary_sensor:
- platform: status
name: "SDM630 Status"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment