@startuml activité
title Activité
' !theme crt-amber

analog  "Température"  between 24 and 28 as tem_cap
concise "Chauffage"                      as tem_act
analog  "Humidité"     between 76 and 82 as hum_cap
concise "Humidifieur"                    as hum_act

scale 5 as 100 pixels
hide time-axis

@0
tem_cap is 27
hum_cap is 80
tem_act is {-}
hum_act is {-}

@+10
tem_cap is 25
tem_act is "ON"
tem_cap -> tem_act : start

@+2
tem_cap is 27
tem_act is {-}
tem_cap -> tem_act : stop

@15
hum_cap is 80

@+10
hum_cap is 78
hum_act is "ON"
hum_cap -> hum_act : start

@+2
hum_cap is 80
hum_act is {-}
hum_cap -> hum_act : stop

@enduml
