If a hue is just turned on and in parallel a color event is send, then in most cases the color event does not reach the hue. Implement a strategy in the ActionImpl to wait for a state confirmation, e.g. color set to green -> wait until hardware confirms the state, otherwise validate the online state and resent when hardware is online.
If a hue is just turned on and in parallel a color event is send, then in most cases the color event does not reach the hue. Implement a strategy in the ActionImpl to wait for a state confirmation, e.g. color set to green -> wait until hardware confirms the state, otherwise validate the online state and resent when hardware is online.