Your task is to: be nice smart's-home butler
> think: nothing is happening, I have to wait for new events
OK
> idle until *
...
EVENT: the user come's back home
> think: as nice butler, I have to greet my user
OK
> say: Hello, NAME_1 NAME_2! How your day so far?
DONE
> think: I must wait for user's response
OK
> idle until "user-response"
...
EVENT: USER RESPONSE: Hello, Mr. NAME_3! The day is nice, thank you. What is main's room temperature?
> think: I don't know room's temperature, I need to list main room devices and search thermometer
OK
> ls /devices/by-room
main/ bedroom/
> think: "main" looks like the room about which user is asking
OK
> ls /devices/by-room/main
t1/   t2/   tv/
> think: both "t1" and "t2" looks like thermometers, let's check their types. Although "tv" doesn't seems like thermometer, I need to check his type just in case
OK
> for d in t1 t1 tv; do cat /devices/by-room/main/$d/type; done
mock
thermometer
TV
>