Read the statement by Michael Teeuw here.
Config code not working?
-
@johnnyboy said in Config code not working?:
> 'Virtual Lock Test' // Or is a specific device label > ] > } > } < ----- > ] < -----
well, ya got a few extra things in there
every { needs a } and every [ needs a ]
extras not allowed -
That did it… I just knew there were too many brackets, but who am I to contradict the developer of that module?
Thanks so much for pointing me in the right direction.{ module: 'MMM-Smartthings', position: 'top_left', header: 'Smartthings', config: { personalAccessToken: 'MY TOKEN GOES IN HERE', capabilities: [ 'contactSensor', 'lock' ], title: "Doors & Locks", excludedDeviceNames: [ 'Sense-', // Contains this text 'Virtual Lock Test' // Or is a specific device label ] } }, { module: 'calendar',
How the instructions said to do it!
'contactSensor', 'lock' ], title: "Doors & Locks", excludedDeviceNames: [ 'Sense-', // Contains this text 'Virtual Lock Test' // Or is a specific device label ] } } ] }, { module: 'calendar',
-
@johnnyboy said in Config code not working?:
but who am I to contradict the developer of that module?
well, you have to read what he said, you copied too much… LOOK like this (his is correct), not BE EXACTLY this (as he only had one module)
read the modules for beginners
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners?_=1592186111969 -
@sdetweil
For sure I was’nt knocking him… I just followed what it said - to enter that block into Config…
I’m very much a novice in this, so I just enter what I see, or be told to by members, who know far more than I… but I did say at opening post that I was unsure if there should be so many brackets at the end…But yeah, it works brilliantly… although I have quite a lot of Smartthings items… so the list goes all down the entire side of the screen, covering Compliments - Lower 3rd, and news feed - bottom bar. … so will need to make another post to find out how to reduce the font size using CSS.
Thanks again Sam… you have helped restore my interest in MM again, with your help on several of my posts.
-