Sonar qube 4 (#169)

* add unit test for inverter.py

* fix SonarQube warning
This commit is contained in:
Stefan Allius
2024-08-24 22:21:55 +02:00
committed by GitHub
parent 27045cac6e
commit f9c1b83ccd
7 changed files with 116 additions and 16 deletions

View File

@@ -172,7 +172,7 @@ class SolarmanV5(Message):
self.db.set_db_def_value(Register.POLLING_INTERVAL,
self.mb_timeout)
self.db.set_db_def_value(Register.HEARTBEAT_INTERVAL,
120) # fixme
120)
self.new_data['controller'] = True
self.state = State.up