def set_var_value(hass, entity_id, value):
 data = {ATTR_ENTITY_ID: entity_id, ATTR_VALUE: value}
 hass.services.call(DOMAIN, SERVICE_SET_VAR_VALUE, data)

def set_var_value ( hass , entity_id , value ) : data = { ATTR_ENTITY_ID : entity_id , ATTR_VALUE : value } hass . services . call ( DOMAIN , SERVICE_SET_VAR_VALUE , data )
change value of homematic system variable .