Fix ValueError in state.py::wait_for_comm_cycle.
Fix ValueError in state.py::wait_for_comm_cycle.

Changed from simple get_state to wait_state for valid float.

Change-Id: Icdc09093dee066658bab6058916bb6aa18b12894
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation