Fix refactor

This commit is contained in:
G Johansson
2026-05-03 13:15:15 +00:00
parent d8a2949b7f
commit 21f374154f
@@ -94,19 +94,7 @@ async def async_setup_entry(
name = entry.title
async_add_entities(
[
CompensationSensor(
entry.entry_id,
name,
source,
attribute,
conf[CONF_PRECISION],
conf[CONF_POLYNOMIAL],
conf.get(CONF_UNIT_OF_MEASUREMENT),
conf[CONF_MINIMUM],
conf[CONF_MAXIMUM],
)
]
[CompensationSensor(conf.get(CONF_UNIQUE_ID), name, source, attribute, conf)]
)