Improve HA script with current class ()

This commit is contained in:
chpego 2023-09-19 10:19:16 +00:00 committed by GitHub
parent 582af76957
commit a6fb96c7bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}",