Getting a formatted address component in another field's template
How I understand the linked doc you need to configure the plain address formatter in a view mode to use address-plain.html.twig. Then you can output the node field as formatted in this twig:

   if ($node-&gt;bundle() == 'location') {
     $variables['address_state'] = $node-&gt;get('field_address')-&gt;view('custom_view_mode');
   }