v0.3.1 state updates via websocket
- updates are done instantly using websocket messages instead of polling, overall faster & less resource intensive (polling used only as fallback)
- detection of the outlets number of a switch (fallback on creating 4 outlets, only first ones being usable)