Not working with hass.io home automation

I looked at the example code to install garadget with hass.io. My garadget has worked for years but today it stopped. The example code is quite different to my code so I tried to use it.

# Related configuration.yaml entry
cover:
  - platform: garadget
    covers:
      garadget:
        device: 190028001947343412342341
        access_token: !secret garadget_access_token
        name: Garage door

sensor:
  - platform: template
    sensors:
      garage_door_status:
        friendly_name: 'State of the door'
        value_template: '{{ states('cover.garage_door') }}'
      garage_door_time_in_state:
        friendly_name: 'Since'
        value_template: '{{ state_attr('cover.garage_door', 'time_in_state') }}'
      garage_door_wifi_signal_strength:
        friendly_name: 'WiFi strength'
        value_template: '{{ state_attr('cover.garage_door', 'wifi_signal_strength') }}'
        unit_of_measurement: 'dB'

group:
  garage_door:
    name: Garage door
    entities:
      - cover.garage_door
      - sensor.garage_door_status
      - sensor.garage_door_time_in_state
      - sensor.garage_door_wifi_signal_strength

customize:
  sensor.garage_door_time_in_state:
    icon: mdi:timer-sand
  sensor.garage_door_wifi_signal_strength:
    icon: mdi:wifi

This fails immediately as you cannot have ‘{{ state_attr(‘cover.garage_door’, ‘time_in_state’) }}’ as the single quotes confuse the yaml code. I changed the internal single quotes to double quotes and that was accepted… I put in my device ID, my username and password. The configuration.yaml is accepted by hass.io but the cover just appears saying “entity not available cover.garage_door”

I don’t understand why the example would ever work, there is no cover called “garage_door” it is not named at all in the example, just the friendly name at the end “Garage door” without the underscore.

What am I doing wrong? This used to work:

cover:
  - platform: garadget
    covers:
      56002d000464353530353431:
          username: xxxxxxxxxxx@xxxxxxxxxx.com
          password: !secret Garadget_password        
          name: Garage door

# Sensors
sensor:
  - platform: template
    sensors:
      garage_door_status:
        friendly_name: 'State of the door'
        value_template: '{{ states.cover.garage_door.state }}'
      garage_door_time_in_state:
        friendly_name: 'Since'
        value_template: '{{ states.cover.garage_door.attributes.time_in_state }}'
      garage_door_wifi_signal_strength:
        friendly_name: 'WiFi strength'
        value_template: '{{ states.cover.garage_door.attributes.wifi_signal_strength }}'
        unit_of_measurement: 'dB'

group:
  garage_door:
    name: Garage door
    entities:
      - cover.garage_door
      - sensor.garage_door_status
      - sensor.garage_door_time_in_state
      - sensor.garage_door_wifi_signal_strength

Did you Get this to work?