Skip to content

Commit d5ed8be

Browse files
committed
inlcude change on numbers.py as well (Endian.BIG/LITTLE)
1 parent fa88e92 commit d5ed8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/solaredge_modbus/number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def native_value(self) -> float:
140140

141141
async def async_set_native_value(self, value: float) -> None:
142142
"""Change the selected value."""
143-
builder = BinaryPayloadBuilder(byteorder=Endian.Big, wordorder=Endian.Little)
143+
builder = BinaryPayloadBuilder(byteorder=Endian.BIG, wordorder=Endian.LITTLE)
144144

145145
if self._fmt == "u32":
146146
builder.add_32bit_uint(int(value))

0 commit comments

Comments
 (0)