(self)
return (
            self.entity_config.get(CONF_ENTITY_RANGE, {}).get(CONF_ENTITY_RANGE_MIN, self.default_range[0]),
            self.entity_config.get(CONF_ENTITY_RANGE, {}).get(CONF_ENTITY_RANGE_MAX, self.default_range[1]),
            self.entity_config.get(CONF_ENTITY_RANGE, {}).get(CONF_ENTITY_RANGE_PRECISION, self.default_range[2])
        )
Return support range (min, max, precision).
Return support range (min, max, precision).
Return support range ( min max precision ) .
def range(self) -> (float, float, float):
        """Return support range (min, max, precision)."""
        return (
            self.entity_config.get(CONF_ENTITY_RANGE, {}).get(CONF_ENTITY_RANGE_MIN, self.default_range[0]),
            self.entity_config.get(CONF_ENTITY_RANGE, {}).get(CONF_ENTITY_RANGE_MAX, self.default_range[1]),
            self.entity_config.get(CONF_ENTITY_RANGE, {}).get(CONF_ENTITY_RANGE_PRECISION, self.default_range[2])
        )
def range ( self ) -> ( float , float , float ) : return ( self . entity_config . get ( CONF_ENTITY_RANGE , { } ) . get ( CONF_ENTITY_RANGE_MIN , self . default_range [ 0 ] ) , self . entity_config . get ( CONF_ENTITY_RANGE , { } ) . get ( CONF_ENTITY_RANGE_MAX , self . default_range [ 1 ] ) , self . entity_config . get ( CONF_ENTITY_RANGE , { } ) . get ( CONF_ENTITY_RANGE_PRECISION , self . default_range [ 2 ] ) )