Files
brewpi/components/actor/heaterFactory.py
T
jensandClaude Sonnet 4.6 740fe8eee9 Remove debug prints from HeaterFactory
print(**kwargs) crashes at runtime since print doesn't accept
arbitrary keyword arguments. Both debug lines were leftover scaffolding.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tqxrk8uj4M3w3d3eXm3xK8
2026-06-25 20:17:42 +02:00

12 lines
304 B
Python

class HeaterFactory:
@staticmethod
def create(name, *args, **kwargs):
if "sim" in name:
from components.actor.heater_sim import HeaterSim
return HeaterSim(*args, **kwargs)
elif "Hendi" in name:
from components.actor.heater_hendi import HeaterHendi
return HeaterHendi(*args, **kwargs)