add logging to yaml file when we turn fridge on or off