Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 06739ef9b7 | |||
| 170d52f563 |
@@ -1,10 +1,10 @@
|
||||
# Froeling Lambdatronic Modbus
|
||||
Home Assistant integration for Fröling Lambdatronic heating systems via Modbus (currently supports Modbus TCP only).
|
||||
Home Assistant integration for Fröling Lambdatronic heating systems via Modbus (currently supports Modbus TCP only - maybe ).
|
||||
|
||||
## ⚠️ Disclaimer ⚠️
|
||||
> **This integration is experimental and has not been tested over long periods.**
|
||||
> It may contain missing or incorrect sensor data.
|
||||
> Feel free to open an [issue](https://github.com/your-repo/issues) or contribute via a [pull request](https://github.com/your-repo/pulls).
|
||||
> Feel free to open an [issue](https://github.com/GyroGearl00se/ha_froeling_lambdatronic_modbus/issues) or contribute via a [pull request](https://github.com/GyroGearl00se/ha_froeling_lambdatronic_modbus/pulls).
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
"codeowners": ["@GyroGearl00se"],
|
||||
"config_flow": true,
|
||||
"dependencies": [],
|
||||
"documentation": "https://github.com/GyroGearl00se/hacs_froeling_lambdatronic_modbus",
|
||||
"documentation": "https://github.com/GyroGearl00se/ha_froeling_lambdatronic_modbus",
|
||||
"integration_type": "hub",
|
||||
"iot_class": "local_polling",
|
||||
"issue_tracker": "https://github.com/GyroGearl00se/hacs_froeling_lambdatronic_modbus/issues",
|
||||
"issue_tracker": "https://github.com/GyroGearl00se/ha_froeling_lambdatronic_modbus/issues",
|
||||
"requirements": ["pymodbus==2.5.3"],
|
||||
"version": "1.0.0"
|
||||
}
|
||||
@@ -147,6 +147,8 @@ class FroelingSensor(SensorEntity):
|
||||
self._state = None
|
||||
else:
|
||||
raw_value = result.registers[0]
|
||||
if raw_value > 32767:
|
||||
raw_value -= 65536
|
||||
scaled_value = raw_value / self._scaling_factor
|
||||
if self._decimal_places == 0:
|
||||
self._state = int(scaled_value) # Convert to integer if decimal_places is 0
|
||||
|
||||
Reference in New Issue
Block a user