(self)
return response
Return description for a devices request.
Return description for a devices request.
Return description for a devices request .
def description(self) -> dict[str, Any]:
        """Return description for a devices request."""
        response = {
            'type': self.type,
            'retrievable': self.retrievable,
            'reportable': self.reportable,
        }
        parameters = self.parameters()
        if parameters is not None:
            response['parameters'] = parameters

        return response
def description ( self ) -> dict [ str , Any ] : response = { 'type' : self . type , 'retrievable' : self . retrievable , 'reportable' : self . reportable , } parameters = self . parameters ( ) if parameters is not None : response [ 'parameters' ] = parameters return response