import '../justfile'

scenario:
    just sensor-self-descr groundfloor livingroom temperature 20.0 &
    just sensor-self-descr groundfloor library temperature 16.0 &
    just sensor-self-descr groundfloor kitchen temperature 24.0 &
    just sensor-self-descr upstairs masterbedroom temperature 17.0 &
    just plotter groundfloor temperature &
    just logger

sensor floor room type initial_double:
    just exec vs.Sensor "{{floor}} {{room}} {{type}} {{initial_double}}" 
sensor-self-descr floor room type initial_double:
    just exec vs.Sensor "{{floor}} {{room}} {{type}} {{initial_double}}" 
alarmer floor room type threshold_double:
    just exec vs.AlarmSubscriber "{{floor}} {{room}} {{type}} {{threshold_double}}" 
plotter floor type:
    just exec vs.FloorPlotter "{{floor}} {{type}}"
logger:
    just exec vs.LoggingSubscriber ""
