Improve HA script with current class (#2626)
This commit is contained in:
parent
582af76957
commit
a6fb96c7bb
1 changed files with 1 additions and 1 deletions
|
@ -526,7 +526,7 @@ mappings = {
|
|||
"device_type": "sensor",
|
||||
"object_suffix": "A",
|
||||
"config": {
|
||||
"device_class": "power",
|
||||
"device_class": "current",
|
||||
"name": "Current",
|
||||
"unit_of_measurement": "A",
|
||||
"value_template": "{{ value|float }}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue