chore: linting and formating python files

Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
bullshit committed 2025-08-07 00:48:44 +02:00
1 parent dd2626a15c
commit 92d3e9b835
5 files changed
+86 -69

No files matched your search

+4 -2
View File
@@ -9,7 +9,9 @@ from . import nut_ups_ns, NutUpsComponent, CONF_NUT_UPS_ID
DEPENDENCIES = ["nut_ups"]
NutUpsTextSensor = nut_ups_ns.class_("NutUpsTextSensor", text_sensor.TextSensor, cg.Component)
NutUpsTextSensor = nut_ups_ns.class_(
"NutUpsTextSensor", text_sensor.TextSensor, cg.Component
)
TEXT_SENSOR_TYPES = [
"model",
@@ -36,4 +38,4 @@ async def to_code(config):
sensor_type = config[CONF_TYPE]
cg.add(var.set_sensor_type(sensor_type))
cg.add(parent.register_text_sensor(var, sensor_type))
cg.add(parent.register_text_sensor(var, sensor_type))