@startuml class Wifi { str essid str pwd str country void wlan wlan connection() } class TempSensor { int read_retry sensors sensors void sensor_address bool create_sensor() int get_temperature() } class MqttClient { str id str server int port str user str pwd bool do_ssl dict ssl_params client mqtt_connect() {static} void mqtt_reconnect() } class global { .. global functions .. == int mosfet_set(int) int pid_value(float) } @enduml