mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-17 09:55:51 +00:00
refactor: remove inner number type conversion in attr calculate.
This commit is contained in:
@@ -11,7 +11,7 @@ DEVICE_MAPPING = {
|
||||
"get": [
|
||||
{
|
||||
"lvalue": "[b7_vbattery]",
|
||||
"rvalue": "[b7_vbatt] / 1000.0"
|
||||
"rvalue": "float([b7_vbatt] / 1000.0)"
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user