#Washer Complete Automation

1 messages · Page 1 of 1 (latest)

restive hull
#

I'm getting the following message when checking configuration on my code. I need a second pair of eyes since obviously I can't find the error

Error loading /config/configuration.yaml: while parsing a block mapping
in "/config/packages/appliances.yaml", line 543, column 13
expected <block end>, but found '<scalar>'
in "/config/packages/appliances.yaml", line 558, column 15

What the heck does scalar mean?? I've included the link to my code.

http://pastie.org/p/1MIkV37Ac4qbJ9b6kFbFlf

round gale
#

Might help if you called out which line is line 543 and which one is 558

fringe shadow
#

The last line may be a problem, but that's a complete guess. I don't think adding a comment in a data line is a good idea...

        - service: media_player.volume_set
          data:
            entity_id: group.alert_sonos_devices
            volume_level: 0.20 # 75% Volume
restive hull
#

@round gale
I fooled around with it a little more while waiting for help. Now getting the following

Error loading /config/configuration.yaml: while parsing a block mapping
in "/config/packages/appliances.yaml", line 543, column 13
expected <block end>, but found '{'
in "/config/packages/appliances.yaml", line 548, column 15

line 543 == announce: true
line 548 == {{ [

line 548 is before the random messages portion

fringe shadow
#

Also on the 15th line in that sequesce...

restive hull
#

@fringe shadow
I've never had issues adding comments on the same line of a command. Several of my other automations and/or scripts have inline comments

fringe shadow
#

It's a guess, as I said. But I wouldn't do it.

restive hull
#

@fringe shadow thanks 🙂

fringe shadow
#

and what you post as like 548 occurrs a bunch of times. Why not post the whole thing?

restive hull
#

@fringe shadow @round gale
It's in the paste link I provided
actually line 548 == line 22 of the paste.org link

548 is actually the line in my packages file. Sorry

fringe shadow
#

If 543 is what you said, 548 is 5 likes later, no0t?

            announce: true
            entity_id: group.alert_sonos_devices
            message: >
              {{ [ 'Pardon me, ',
                   'Excuse me, ',
                   'I do not mean to interrupt, but, ',
                   'I hate to interrupt, but, '
teal cove
#

In your oriinal post you have 558 and 543, so 15 lines apart

fringe shadow
#

So "an hour ago." then?

#

So post the whole thing, because we have no idea at all...

restive hull
#

@fringe shadow line 543 == line 19 in the paste.org link. announce: true

line 548 == line 22 in pate.org link
starting with {{ [

fringe shadow
#

It's probably not, because that is part of a list, and that looks formed correctly

teal cove
#

I tried copying and running in the templates, and it works ok

fringe shadow
#

Let's just say good luck, I don't think I can help here...

restive hull
#

@teal cove @fringe shadow
this is the current error from HA check configuration

Error loading /config/configuration.yaml: while parsing a block mapping
in "/config/packages/appliances.yaml", line 543, column 13
expected <block end>, but found '{'
in "/config/packages/appliances.yaml", line 548, column 15

line 543 == line 19
announce: true

line 548 == line 22
{{ [ 'Pardon me, ',

hope that clears things up. 🤔

#

@teal cove really? what the heck. ponder

teal cove
#

can you put for fun some string before the {{ ?