It works but the Studio Code Server does not like it. Can it be made complient?

# Loads default set of integrations. Do not remove.
homeassistant:
  packages: !include_dir_named packages
default_config:

# Required to load default modules
# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

template:
  - triggers:
      - trigger: time_pattern
        hours: /1
      - trigger: homeassistant
        event: start
    actions:
      - action: weather.get_forecasts
        target:
          entity_id: weather.met_office_manchester
        data:
          type: daily
        response_variable: own_daily
    sensor:
    - name: Met Office Home daily
      unique_id: ba11fc7f-d333-4da0-bb05-de21e60deccb
      state: "{{ now().isoformat() }}"
      attributes:
        forecast: "{{ own_daily['weather.met_office_manchester'].forecast }}"


automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

The Home assistant VSCode extension needs updating. Either use the desktop VSCode application or wait for an update to the add-on.

Thanks, that makes it all clear now. :slight_smile:

I believe it is just that the home assistant extension in VS code is not up to date with Home Assistant.
You can do an issue here if it’s not already listed.

You are able to update the extension to the latest from the code server add-on as well as from vscode. It will tell you there that an update is needed if it’s behind. (bottom one here)