original_docstring: Publishes request for current state message
docstring: Publishes request for current state message
docstring_tokens: Publishes request for current state message
code: def _request_state(self):
          """Publishes request for current state message"""
          if self.client:
              command = json.dumps({
                      'msg': 'REQUEST-CURRENT-STATE',
                      'time': time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime())})
              
              self.client.publish(self.device_command, command);
code_tokens: def _request_state ( self ) : if self . client : command = json . dumps ( { 'msg' : 'REQUEST-CURRENT-STATE' , 'time' : time . strftime ( '%Y-%m-%dT%H:%M:%SZ' , time . gmtime ( ) ) } ) self . client . publish ( self . device_command , command ) ;
short_docstring: Publishes request for current state message
short_docstring_tokens: Publishes request for current state message
comment: """Publishes request for current state message"""