Skip to content

Commit

Permalink
Update sensor templates
Browse files Browse the repository at this point in the history
  • Loading branch information
MarthinHauge authored Apr 28, 2021
1 parent 7fd1261 commit b78060c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensor templates
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
friendly_name: "strømpris kwh inkl nettleie"
unit_of_measurement: "kr"
icon_template: "mdi:cash-multiple"
value_template: "{{(((states('sensor.nordpool_kwh_krsand_nok_4_10_025')|float)) + (states('sensor.Nettleie')| float))}}"
value_template: "{{(((states('sensor.nordpool_kwh_krsand_nok_3_10_025')|float)) + (states('sensor.Nettleie')| float))}}"

stromkostnad_idag:
value_template: "{{ (state_attr('sensor.real_time_consumption_Your_address_here', 'accumulatedConsumption') | float * states('sensor.strompris_kwh_inkl_nettleie')| float) | round(3) }}"
Expand Down

0 comments on commit b78060c

Please sign in to comment.