'Get the latest state from the projector.'

def update(self):

    msg = CMD_DICT[LAMP]
    awns = self._write_read_format(msg)
    if (awns == 'Lamp    1'):
        self._state = True
        self._available = True
    elif (awns == 'Lamp    0'):
        self._state = False
        self._available = True
    else:
        self._available = False
    for key in self._attributes:
        msg = CMD_DICT.get(key, None)
        if msg:
            awns = self._write_read_format(msg)
            self._attributes[key] = awns
