Added few socket timeouts. Sigh.
Attempt to fix the night state weirdness - now, fiddling around with light state by Hue Tap sticks for 8 hours.
Got rid of hardcoded sensor names in the pick-current-state.