Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Jan 22, 2020
1 parent 8491c4d commit bfae464
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions includes/sensors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,17 @@
{{ (5 * hours_per_day)|round(2) }}
unit_of_measurement: h

daily_power:
friendly_name: Daily Power
unit_of_measurement: kWh
value_template: >
{{ states("sensor.daily_power_offpeak")|float + states("sensor.daily_power_peak")|float }}
monthly_power:
friendly_name: Monthly Power
unit_of_measurement: kWh
value_template:
{{ states("sensor.monthly_power_offpeak")|float + states("sensor.monthly_power_peak")|float }}
daily_power:
friendly_name: Daily Power
unit_of_measurement: kWh
value_template: >
{{ states("sensor.daily_power_offpeak")|float + states("sensor.daily_power_peak")|float }}
monthly_power:
friendly_name: Monthly Power
unit_of_measurement: kWh
value_template: >
{{ states("sensor.monthly_power_offpeak")|float + states("sensor.monthly_power_peak")|float }}
- platform: min_max
Expand Down

0 comments on commit bfae464

Please sign in to comment.