keesschollaart81 / vscode-home-assistant

Visual Studio Code Extension for Home Assistant. ⭐ if you think this is cool!
544 stars 115 forks source link

MQTT Device Tracker - Valid code flagged as invalid #2167

Open g4sbq opened 2 years ago

g4sbq commented 2 years ago

Following recent changes to the MQTT device tracker, valid YAML is flagged with errors...

image

Version of VSCode Helper is 1.30.1

mqtt:
  device_tracker:
    - name:  "bi_adam"
      state_topic: "blue_iris/sensor/bi_geofence_adam/state"
      payload_home: "home"
      payload_not_home: "away"
   - yaml

and/or point to a repository containing your Home Assistant Configuration

elykrk commented 1 year ago

Bump! Same issue with mine.