(
    hass,
    variable,
    value,
    value_template,
    attributes,
    attributes_template,
    replace_attributes,
)
Set input_boolean to True.
Set input_boolean to True.
Set input_boolean to True .
def set_variable(
    hass,
    variable,
    value,
    value_template,
    attributes,
    attributes_template,
    replace_attributes,
):
    """Set input_boolean to True."""
    hass.services.call(
        DOMAIN,
        SERVICE_SET_VARIABLE,
        {
            ATTR_VARIABLE: variable,
            ATTR_VALUE: value,
            ATTR_VALUE_TEMPLATE: value_template,
            ATTR_ATTRIBUTES: attributes,
            ATTR_ATTRIBUTES_TEMPLATE: attributes_template,
            ATTR_REPLACE_ATTRIBUTES: replace_attributes,
        },
    )
def set_variable ( hass , variable , value , value_template , attributes , attributes_template , replace_attributes , ) : hass . services . call ( DOMAIN , SERVICE_SET_VARIABLE , { ATTR_VARIABLE : variable , ATTR_VALUE : value , ATTR_VALUE_TEMPLATE : value_template , ATTR_ATTRIBUTES : attributes , ATTR_ATTRIBUTES_TEMPLATE : attributes_template , ATTR_REPLACE_ATTRIBUTES : replace_attributes , } , )