Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastruktur
ansible-warpzone
Commits
3a1e0f67
Commit
3a1e0f67
authored
1 year ago
by
3d
Browse files
Options
Downloads
Patches
Plain Diff
Update esphome_power.yaml
parent
365e09a7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
intern/docker_esphome/templates/config/esphome_power.yaml
+13
-2
13 additions, 2 deletions
intern/docker_esphome/templates/config/esphome_power.yaml
with
13 additions
and
2 deletions
intern/docker_esphome/templates/config/esphome_power.yaml
+
13
−
2
View file @
3a1e0f67
...
@@ -20,9 +20,10 @@ modbus_controller:
...
@@ -20,9 +20,10 @@ modbus_controller:
-
id
:
sdm630m
-
id
:
sdm630m
address
:
0x01
address
:
0x01
modbus_id
:
modbus_sdm
modbus_id
:
modbus_sdm
update_interval
:
3
0s
update_interval
:
2
0s
sensor
:
sensor
:
-
platform
:
sdm_meter
-
platform
:
sdm_meter
phase_a
:
phase_a
:
...
@@ -79,14 +80,24 @@ sensor:
...
@@ -79,14 +80,24 @@ sensor:
name
:
"
Total
Power"
name
:
"
Total
Power"
import_active_energy
:
import_active_energy
:
name
:
"
Import
Active
Energy"
name
:
"
Import
Active
Energy"
id
:
import_energy
export_active_energy
:
export_active_energy
:
name
:
"
Export
Active
Energy"
name
:
"
Export
Active
Energy"
id
:
export_energy
import_reactive_energy
:
import_reactive_energy
:
name
:
"
Import
Reactive
Energy"
name
:
"
Import
Reactive
Energy"
export_reactive_energy
:
export_reactive_energy
:
name
:
"
Export
Reactive
Energy"
name
:
"
Export
Reactive
Energy"
update_interval
:
6
0s
update_interval
:
2
0s
-
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
:
binary_sensor
:
-
platform
:
status
-
platform
:
status
name
:
"
SDM630
Status"
name
:
"
SDM630
Status"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment