sunpeek.components.base#

Classes

Component(**kwargs)

Base class to be used for physical components of a Plant, also specifies a DB table to allow polymorpic references to any subclass (i.e. via FK on components.id).

SensorSlot(name, sensor_type[, ...])

A pydantic class used to hold and validate information on a component sensor slot.