@startuml
class Profile {
-name
}
Profile "1"--"1" Settings
Profile "1"--"n" Switch
class Switch {
 -name
 -position
}
Switch -- SwitchPosition
enum SwitchPosition{
- on
- off
- auto
}

class Settings {
-window_min_inside_temperature
-window_min_outside_temperature
-heating_max_inside_temperature
-dryer_min_solar_power
-dryer_start_time
-dryer_end_time
}
class Frame {
 -sensor_pi
 -sensor_window
 -sensor_outside
 -solar_power
 -switches
}
Frame -- "2" Sensor
Frame -- "1" Weatherstation
Frame -- "1" Photovoltaik
Frame -- "3" Window
Frame -- "5" SwitchFrame
class Sensor {
 -temperature
 -humidity
}
class Weatherstation extends Sensor{
 -wind_speed
 -rain_amount
}
class Photovoltaik {
 -power
}
class Window {
 -closed
}
class SwitchFrame {
   -name
   -position
}

@enduml