Hass.io supervisor not using Home Assistant timezone

I recently moved to a Hass.io based installation on a Raspberry Pi 3B+ and this is mostly is working very smoothly!

One issue I seem to have is that the Hass.io supervisor is not using the timezone from Home Assistant. I saw this pull request so my understanding is that the supervisor should get the timezone from configuration.yaml https://github.com/home-assistant/hassio/pull/69.

I set the correct time_zone in configuration.yaml however when I check the results of hassio su info it still returns timezone UTC. As a result, addons like Node-red also use the (incorrect) UTC timezone information.


configuration.yaml

homeassistant:
  name: Home
  latitude: !secret home_latitude
  longitude: !secret home_longitude
  elevation: !secret home_elevation
  unit_system: metric
  time_zone: Europe/Brussels

hassio su info

{                                                                                                                                              
    "result": "ok",                                                                                                                            
    "data": {                                                                                                                                  
        "version": "141",                                                                                                                      
        "last_version": "141",                                                                                                                 
        "channel": "stable",                                                                                                                   
        "arch": "aarch64",                                                                                                                     
        "wait_boot": 5,                                                                                                                        
        "timezone": "UTC",  

Okay, after trying to debug this error for a while yesterday I instantly figured it out after posting on this forum…

I still had a commented #time_zone: UTC above the other timezone, removing this issue fixed the problem and the Hass.io supervisor is now picking up the correct timezone information!

I guess the code which extracts this information from the yaml file is not handling commented code blocks correctly?