'Return the contents of _state.'

@patch('homeassistant.components.sensor.tcp.TcpSensor.update')
def test_state(self, mock_update):

    sensor = tcp.TcpSensor(self.hass, TEST_CONFIG['sensor'])
    uuid = str(uuid4())
    sensor._state = uuid
    assert (sensor.state == uuid)
