Skip to content

Commit

Permalink
isort + black
Browse files Browse the repository at this point in the history
  • Loading branch information
LavermanJJ committed Aug 26, 2023
1 parent 4c628da commit 724b507
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pysolarfocus/component_factory.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""Solarfocus component factory"""
from . import ApiVersions, Systems
from .components.biomass_boiler import BiomassBoiler
from .components.boiler import Boiler
from .components.buffer import Buffer, TherminatorBuffer
from .components.fresh_water_module import FreshWaterModule
from .components.heat_pump import HeatPump
from .components.heating_circuit import HeatingCircuit, TherminatorHeatingCircuit
from .components.biomass_boiler import BiomassBoiler
from .components.photovoltaic import Photovoltaic
from .components.solar import Solar
from .modbus_wrapper import ModbusConnector
Expand Down
8 changes: 7 additions & 1 deletion pysolarfocus/components/base/data_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ class DataValue(Part):
register_type: RegisterTypes

def __init__(
self, address: int, count: int = 1, default_value: int = 0, multiplier: float = None, data_type: DataTypes = DataTypes.INT, register_type: RegisterTypes = RegisterTypes.INPUT
self,
address: int,
count: int = 1,
default_value: int = 0,
multiplier: float = None,
data_type: DataTypes = DataTypes.INT,
register_type: RegisterTypes = RegisterTypes.INPUT,
) -> None:
self.address = address
self.count = count
Expand Down
1 change: 0 additions & 1 deletion pysolarfocus/modbus_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

"""Solarfocus modbus wrapper"""
import logging

Expand Down

0 comments on commit 724b507

Please sign in to comment.