Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Yaml demo file
#3
(07-18-2024, 11:59 AM)admin Wrote: if you want download firmware for A16 board.  Do you have remove the RF433M receiver module? it MUST removed from PCB socket.

i removed the rf device.
still getting this message from the esp home assist:  INFO ESPHome 2024.7.0
INFO Reading configuration /config/esphome/esphome-web-fe42e8.yaml...
ERROR Error while reading config: Invalid YAML syntax:
INFO ESPHome 2024.7.0
INFO Reading configuration /config/esphome/esphome-web-fe42e8.yaml...
ERROR Error while reading config: Invalid YAML syntax:

Duplicate key "– id"
  in "/config/esphome/esphome-web-fe42e8.yaml", line 32, column 1
NOTE: Previous declaration here:
  in "/config/esphome/esphome-web-fe42e8.yaml", line 29, column 1

the code is good until here:

# Example configuration entry
pcf8574:
– id: ‘pcf8574_hub_out_1’ # for output channel 1-8              this is line 29
address: 0x24
– id: ‘pcf8574_hub_out_2’ # for output channel 9-16
address: 0x25
– id: ‘pcf8574_hub_in_1’ # for input channel 1-8                this is line 32
address: 0x21
– id: ‘pcf8574_hub_in_2’ # for input channel 9-16
address: 0x22
# Individual outputs
switch:
– platform: gpio
name: “light1”
pin:
pcf8574: pcf8574_hub_out_1
number: 0
mode: OUTPUT
inverted: true


   

Duplicate key "– id"
  in "/config/esphome/esphome-web-fe42e8.yaml", line 32, column 1
NOTE: Previous declaration here:
  in "/config/esphome/esphome-web-fe42e8.yaml", line 29, column 1


INFO ESPHome 2024.7.0 INFO ESPHome 2024.7.0
INFO Reading configuration /config/esphome/esphome-web-fe42e8.yaml...
ERROR Error while reading config: Invalid YAML syntax:

Duplicate key "– id"
  in "/config/esphome/esphome-web-fe42e8.yaml", line 32, column 1
NOTE: Previous declaration here:
  in "/config/esphome/esphome-web-fe42e8.yaml", line 29, column 1
INFO Reading configuration /config/esphome/esphome-web-fe42e8.yaml...
ERROR Error while reading config: Invalid YAML syntax:

Duplicate key "– id"
  in "/config/esphome/esphome-web-fe42e8.yaml", line 32, column 1
NOTE: Previous declaration here:
  in "/config/esphome/esphome-web-fe42e8.yaml", line 29, column 1
Reply


Messages In This Thread
Problem with Yaml demo file - by Bigh - 07-18-2024, 11:08 AM
RE: Problem with Yaml demo file - by admin - 07-18-2024, 11:59 AM
RE: Problem with Yaml demo file - by Bigh - 07-18-2024, 07:38 PM
RE: Problem with Yaml demo file - by admin - 07-18-2024, 08:55 PM
RE: Problem with Yaml demo file - by Bigh - 07-19-2024, 07:06 AM
RE: Problem with Yaml demo file - by admin - 07-19-2024, 12:57 PM
RE: Problem with Yaml demo file - by Bigh - 07-19-2024, 01:30 PM
RE: Problem with Yaml demo file - by admin - 07-19-2024, 10:17 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)