Errors configuring myq cover

Hi all! New to HA!

I am attempting to setup my Chamberlain garage door opener in HA. I have the MyQ app and all is working fine there. I have a functioning install of HA on a Rpi4, version 0.103.5.

Configuration.yaml file:

# MyQ Garage Door Opener
cover:
- platform: myq
username: !secret myq_username
password: !secret myq_password
type: chamberlain

I receive this error:
Tue Dec 31 2019 10:43:01 GMT-0500 (Eastern Standard Time)

Component error: username - Integration ‘username’ not found. Component error: password - Integration ‘password’ not found. Component error: type - Integration ‘type’ not found. Invalid config for [cover.myq]: required key not provided @ data[‘password’]. Got None required key not provided @ data[‘username’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/myq/

Any help is appreciated!

Spacing?

cover:
  - platform: myq
    username: !secret myq_user
    password: !secret myq_psswd
    type: liftmaster

Occasionally I’ve had to restart HA after adding to the secrets file for HA to recognize the additions.

Thank you @GaryK, the spacing appears to have been the issue. I am no longer seeing the error messages, however I do not see a status for my garage door on the dashboard. I assume I have to do something else for that to show up.

Yes. Create a badge or card containing the garage door entity cover.door.

Thanks again @GaryK, do you know of a document that tells me how to create the card?

Thanks again. I was able to get everything working for my garage door.