public void parseInput(String state)
	{
		char type = state.charAt(0);
		if (type != ':') {
			return;
		}
		type = state.charAt(1);
		String value = state.substring(3);

		if (type == 'l') {
			this.light = Integer.decode(value);
		}
		if (type == 'r') {
			this.relayA = Integer.decode(value) == 1;
		}
		if (type == 's') {
			this.relayB = Integer.decode(value) == 1;
		}
		if (type == 't') {
			this.temperature = Float.valueOf(value);
		}
	}