Skip to content

Commit

Permalink
#67 - Correcting SPF 'current' divider
Browse files Browse the repository at this point in the history
  • Loading branch information
muppet3000 committed Nov 10, 2023
1 parent 7024ea5 commit 98d3b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/grott/sensors/sensors_mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ def datetime_formatter(mqtt_data):
"state_class": SensorStateClass.MEASUREMENT,
"icon": "mdi:flash",
"func": lambda js: js['values']["OP_Curr"],
"divider": 100,
"divider": 10,
"unique_name": "mqtt_130",
},
{
Expand All @@ -1427,7 +1427,7 @@ def datetime_formatter(mqtt_data):
"state_class": SensorStateClass.MEASUREMENT,
"icon": "mdi:flash",
"func": lambda js: js['values']["Inv_Curr"],
"divider": 100,
"divider": 10,
"unique_name": "mqtt_131",
},
{
Expand Down

0 comments on commit 98d3b6b

Please sign in to comment.