Skip to content

Commit

Permalink
Merge pull request #20 from grehund/main
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
bouwew authored Mar 2, 2022
2 parents 23ca740 + 6b3d13e commit 09acb6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/sems2mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def create_device(model):
}
payload_dc_current_str_1 = {
'name':'sems_str_1_current',
'unit_of_meas':'VDC',
'unit_of_meas':'IDC',
'value_template':'{{ value_json.dc_current_str_1 }}',
'icon':'mdi:current-dc',
'state_topic':'sems/sensors',
Expand All @@ -340,7 +340,7 @@ def create_device(model):
}
payload_dc_current_str_2 = {
'name':'sems_str_2_current',
'unit_of_meas':'VDC',
'unit_of_meas':'IDC',
'value_template':'{{ value_json.dc_current_str_2 }}',
'icon':'mdi:current-dc',
'state_topic':'sems/sensors',
Expand Down

0 comments on commit 09acb6f

Please sign in to comment.