Help with Keymaster

I am installing keymaster for my schlage zwave lock. I have followed the instructions to the letter. The last step says the following:

If all goes well, you will also see a new directory (by default <your config directory/packages/keymaster/>) for each lock with yaml and a lovelace files. So if you add two integrations, one with FrontDoor and the other with BackDoor, you should see two directories with those names. Inside of each of those directories will be a file called <lockname>_lovelace. Open that file in a text editor and select the entire contents and copy to the clipboard.

(Open file) Ctrl-A (select all) Ctrl-C (copy)

Open Home Assistant and open the LoveLace editor by clicking the elipses on the top right of the screen, and then select “Configure UI”. Click the elipses again and click “Raw config editor”. Scroll down to the bottom of the screen and then paste your clipboard. This will paste a new View for your lock. Click the Save button then click the X to exit.

When i do this and save it i get the following:

Unable to parse YAML: YAMLException: bad indentation of a mapping entry (62:3) 59 | disabled_mode: true 60 | 61 | 62 | - title: 'frontdoor Codes and C … --------^ 63 | path: keypad-frontdoor 64 | icon: ‘mdi:lock-smart’

Below is the code for the lovelace raw config editor after i paste:

title: Home
views:
  - path: default_view
    title: Home
    visible:
      - user: 6a74236da6154bc4a5a1eea84a945e63
    badges: []
    cards:
      - type: weather-forecast
        entity: weather.home
        show_forecast: false
      - type: entities
        entities:
          - entity: switch.tasmota
            name: Pump
            icon: hass:water-pump
          - entity: switch.tasmota2
            name: Heater
            icon: hass:fire
          - entity: switch.tasmota4
            name: Light
            icon: hass:car-light-high
          - entity: sensor.pooltempsens_ds18b20_temperature
            name: Current Water Temperature
          - entity: sensor.current_temp_setting
            name: Current Temperature Setting
        show_header_toggle: false
        state_color: true
      - type: entities
        entities:
          - sensor.timer1
      - type: entities
        entities:
          - entity: input_datetime.only_time
            name: On Time
      - type: grid
        cards:
          - type: entities
            entities:
              - sensor.joel_iphonex_mar19_activity
              - sensor.joel_iphonex_mar19_distance
              - sensor.joel_iphonex_mar19_floors_ascended
      - type: button
        tap_action:
          action: toggle
        entity: switch.tasmota
        show_state: true
        name: Pump
resources:
  - url: /local/time-picker-card.js
    type: module
custom_header:
  restrict_users: true
  exceptions:
    - conditions:
        user: 95eb57372b994f0a8ad72917d95cb750
      config: {}
  split_mode: true
  disabled_mode: true


  - title: 'frontdoor Codes and Configuration'
    path: keypad-frontdoor
    icon: 'mdi:lock-smart'
    panel: false
    badges:
      - input_text.frontdoor_lockname
      - input_boolean.frontdoor_lock_notifications
      - input_boolean.frontdoor_dooraccess_notifications
      - input_boolean.frontdoor_garageacess_notifications
      - entity: >-
          lock.touchscreen_deadbolt_frontdoor
      - entity: >-
          binary_sensor.fake

                  - entity: input_datetime.end_date_frontdoor_1
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_1
                      - input_boolean.sun_inc_frontdoor_1
                      - input_datetime.sun_start_date_frontdoor_1
                      - input_datetime.sun_end_date_frontdoor_1
                      - type: divider
                      - input_boolean.mon_frontdoor_1
                      - input_boolean.mon_inc_frontdoor_1
                      - input_datetime.mon_start_date_frontdoor_1
                      - input_datetime.mon_end_date_frontdoor_1
                      - type: divider
                      - input_boolean.tue_frontdoor_1
                      - input_boolean.tue_inc_frontdoor_1
                      - input_datetime.tue_start_date_frontdoor_1
                      - input_datetime.tue_end_date_frontdoor_1
                      - type: divider
                      - input_boolean.wed_frontdoor_1
                      - input_boolean.wed_inc_frontdoor_1
                      - input_datetime.wed_start_date_frontdoor_1
                      - input_datetime.wed_end_date_frontdoor_1
                      - type: divider
                      - input_boolean.thu_frontdoor_1
                      - input_boolean.thu_inc_frontdoor_1
                      - input_datetime.thu_start_date_frontdoor_1
                      - input_datetime.thu_end_date_frontdoor_1
                      - type: divider
                      - input_boolean.fri_frontdoor_1
                      - input_boolean.fri_inc_frontdoor_1
                      - input_datetime.fri_start_date_frontdoor_1
                      - input_datetime.fri_end_date_frontdoor_1
                      - type: divider

                  label: Advanced Options
                entities:
                  - entity: input_boolean.reset_codeslot_frontdoor_4
                  - type: divider
                  - entity: input_boolean.accesslimit_frontdoor_4
                  - entity: input_number.accesscount_frontdoor_4
                    type: 'custom:numberbox-card'
                    icon: 'mdi:key-variant'
                    speed: 250
                  - type: divider
                  - entity: input_boolean.daterange_frontdoor_4
                  - entity: input_datetime.start_date_frontdoor_4
                  - entity: input_datetime.end_date_frontdoor_4
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_4
                      - input_boolean.sun_inc_frontdoor_4
                      - input_datetime.sun_start_date_frontdoor_4
                      - input_datetime.sun_end_date_frontdoor_4
                      - type: divider
                      - input_boolean.mon_frontdoor_4
                      - input_boolean.mon_inc_frontdoor_4
                      - input_datetime.mon_start_date_frontdoor_4
                      - input_datetime.mon_end_date_frontdoor_4
                      - type: divider
                      - input_boolean.tue_frontdoor_4
                      - input_boolean.tue_inc_frontdoor_4
                      - input_datetime.tue_start_date_frontdoor_4
                      - input_datetime.tue_end_date_frontdoor_4
                      - type: divider
                      - input_boolean.wed_frontdoor_4
                      - input_boolean.wed_inc_frontdoor_4
                      - input_datetime.wed_start_date_frontdoor_4
                      - input_datetime.wed_end_date_frontdoor_4
                      - type: divider
                      - input_boolean.thu_frontdoor_4
                      - input_boolean.thu_inc_frontdoor_4
                      - input_datetime.thu_start_date_frontdoor_4
                      - input_datetime.thu_end_date_frontdoor_4
                      - type: divider
                      - input_boolean.fri_frontdoor_4
                      - input_boolean.fri_inc_frontdoor_4
                      - input_datetime.fri_start_date_frontdoor_4
                      - input_datetime.fri_end_date_frontdoor_4
                      - type: divider
                      - input_boolean.sat_frontdoor_4
                      - input_boolean.sat_inc_frontdoor_4
                      - input_datetime.sat_start_date_frontdoor_4
                      - input_datetime.sat_end_date_frontdoor_4
      - type: vertical-stack
        cards:
          - content: |
              ## Code 5
            type: markdown
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_text.frontdoor_name_5
              - entity: input_text.frontdoor_pin_5
              - entity: input_boolean.enabled_frontdoor_5
              - entity: input_boolean.notify_frontdoor_5
              - type: divider
              - entity: sensor.connected_frontdoor_5
                state_color: true
              - entity: binary_sensor.active_frontdoor_5
                state_color: true
              - type: 'custom:fold-entity-row'
                head:
                  type: section
                  label: Advanced Options
                entities:
                  - entity: input_boolean.reset_codeslot_frontdoor_5
                  - type: divider
                  - entity: input_boolean.accesslimit_frontdoor_5
                  - entity: input_number.accesscount_frontdoor_5
                    type: 'custom:numberbox-card'
                    icon: 'mdi:key-variant'
                    speed: 250
                  - type: divider
                  - entity: input_boolean.daterange_frontdoor_5
                  - entity: input_datetime.start_date_frontdoor_5
                  - entity: input_datetime.end_date_frontdoor_5
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_5
                      - input_boolean.sun_inc_frontdoor_5
                      - input_datetime.sun_start_date_frontdoor_5
                      - input_datetime.sun_end_date_frontdoor_5
                      - type: divider
                      - input_boolean.mon_frontdoor_5
                      - input_boolean.mon_inc_frontdoor_5
                      - input_datetime.mon_start_date_frontdoor_5
                      - input_datetime.mon_end_date_frontdoor_5
                      - type: divider
                      - input_boolean.tue_frontdoor_5
                      - input_boolean.tue_inc_frontdoor_5
                      - input_datetime.tue_start_date_frontdoor_5
                      - input_datetime.tue_end_date_frontdoor_5
                      - type: divider
                      - input_boolean.wed_frontdoor_5
                      - input_boolean.wed_inc_frontdoor_5
                      - input_datetime.wed_start_date_frontdoor_5
                      - input_datetime.wed_end_date_frontdoor_5
                      - type: divider
                      - input_boolean.thu_frontdoor_5
                      - input_boolean.thu_inc_frontdoor_5
                      - input_datetime.thu_start_date_frontdoor_5
                      - input_datetime.thu_end_date_frontdoor_5
                      - type: divider
                      - input_boolean.fri_frontdoor_5
                      - input_boolean.fri_inc_frontdoor_5
                      - input_datetime.fri_start_date_frontdoor_5
                      - input_datetime.fri_end_date_frontdoor_5
                      - type: divider
                      - input_boolean.sat_frontdoor_5
                      - input_boolean.sat_inc_frontdoor_5
                      - input_datetime.sat_start_date_frontdoor_5
                      - input_datetime.sat_end_date_frontdoor_5
      - type: vertical-stack
        cards:
          - content: |
              ## Code 6
            type: markdown
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_text.frontdoor_name_6
              - entity: input_text.frontdoor_pin_6
              - entity: input_boolean.enabled_frontdoor_6
              - entity: input_boolean.notify_frontdoor_6
              - type: divider
              - entity: sensor.connected_frontdoor_6
                state_color: true
              - entity: binary_sensor.active_frontdoor_6
                state_color: true
              - type: 'custom:fold-entity-row'
                head:
                  type: section
                  label: Advanced Options
                entities:
                  - entity: input_boolean.reset_codeslot_frontdoor_6
                  - type: divider
                  - entity: input_boolean.accesslimit_frontdoor_6
                  - entity: input_number.accesscount_frontdoor_6
                    type: 'custom:numberbox-card'
                    icon: 'mdi:key-variant'
                    speed: 250
                  - type: divider
                  - entity: input_boolean.daterange_frontdoor_6
                  - entity: input_datetime.start_date_frontdoor_6
                  - entity: input_datetime.end_date_frontdoor_6
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_6
                      - input_boolean.sun_inc_frontdoor_6
                      - input_datetime.sun_start_date_frontdoor_6
                      - input_datetime.sun_end_date_frontdoor_6
                      - type: divider
                      - input_boolean.mon_frontdoor_6
                      - input_boolean.mon_inc_frontdoor_6
                      - input_datetime.mon_start_date_frontdoor_6
                      - input_datetime.mon_end_date_frontdoor_6
                      - type: divider
                      - input_boolean.tue_frontdoor_6
                      - input_boolean.tue_inc_frontdoor_6
                      - input_datetime.tue_start_date_frontdoor_6
                      - input_datetime.tue_end_date_frontdoor_6
                      - type: divider
                      - input_boolean.wed_frontdoor_6
                      - input_boolean.wed_inc_frontdoor_6
                      - input_datetime.wed_start_date_frontdoor_6
                      - input_datetime.wed_end_date_frontdoor_6
                      - type: divider
                      - input_boolean.thu_frontdoor_6
                      - input_boolean.thu_inc_frontdoor_6
                      - input_datetime.thu_start_date_frontdoor_6
                      - input_datetime.thu_end_date_frontdoor_6
                      - type: divider
                      - input_boolean.fri_frontdoor_6
                      - input_boolean.fri_inc_frontdoor_6
                      - input_datetime.fri_start_date_frontdoor_6
                      - input_datetime.fri_end_date_frontdoor_6
                      - type: divider
                      - input_boolean.sat_frontdoor_6
                      - input_boolean.sat_inc_frontdoor_6
                      - input_datetime.sat_start_date_frontdoor_6
                      - input_datetime.sat_end_date_frontdoor_6
      - type: vertical-stack
        cards:
          - content: |
              ## Code 7
            type: markdown
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_text.frontdoor_name_7
              - entity: input_text.frontdoor_pin_7
              - entity: input_boolean.enabled_frontdoor_7
              - entity: input_boolean.notify_frontdoor_7
              - type: divider
              - entity: sensor.connected_frontdoor_7
                state_color: true
              - entity: binary_sensor.active_frontdoor_7
                state_color: true
              - type: 'custom:fold-entity-row'
                head:
                  type: section
                  label: Advanced Options
                entities:
                  - entity: input_boolean.reset_codeslot_frontdoor_7
                  - type: divider
                  - entity: input_boolean.accesslimit_frontdoor_7
                  - entity: input_number.accesscount_frontdoor_7
                    type: 'custom:numberbox-card'
                    icon: 'mdi:key-variant'
                    speed: 250
                  - type: divider
                  - entity: input_boolean.daterange_frontdoor_7
                  - entity: input_datetime.start_date_frontdoor_7
                  - entity: input_datetime.end_date_frontdoor_7
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_7
                      - input_boolean.sun_inc_frontdoor_7
                      - input_datetime.sun_start_date_frontdoor_7
                      - input_datetime.sun_end_date_frontdoor_7
                      - type: divider
                      - input_boolean.mon_frontdoor_7
                      - input_boolean.mon_inc_frontdoor_7
                      - input_datetime.mon_start_date_frontdoor_7
                      - input_datetime.mon_end_date_frontdoor_7
                      - type: divider
                      - input_boolean.tue_frontdoor_7
                      - input_boolean.tue_inc_frontdoor_7
                      - input_datetime.tue_start_date_frontdoor_7
                      - input_datetime.tue_end_date_frontdoor_7
                      - type: divider
                      - input_boolean.wed_frontdoor_7
                      - input_boolean.wed_inc_frontdoor_7
                      - input_datetime.wed_start_date_frontdoor_7
                      - input_datetime.wed_end_date_frontdoor_7
                      - type: divider
                      - input_boolean.thu_frontdoor_7
                      - input_boolean.thu_inc_frontdoor_7
                      - input_datetime.thu_start_date_frontdoor_7
                      - input_datetime.thu_end_date_frontdoor_7
                      - type: divider
                      - input_boolean.fri_frontdoor_7
                      - input_boolean.fri_inc_frontdoor_7
                      - input_datetime.fri_start_date_frontdoor_7
                      - input_datetime.fri_end_date_frontdoor_7
                      - type: divider
                      - input_boolean.sat_frontdoor_7
                      - input_boolean.sat_inc_frontdoor_7
                      - input_datetime.sat_start_date_frontdoor_7
                      - input_datetime.sat_end_date_frontdoor_7
      - type: vertical-stack
        cards:
          - content: |
              ## Code 8
            type: markdown
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_text.frontdoor_name_8
              - entity: input_text.frontdoor_pin_8
              - entity: input_boolean.enabled_frontdoor_8
              - entity: input_boolean.notify_frontdoor_8
              - type: divider
              - entity: sensor.connected_frontdoor_8
                state_color: true
              - entity: binary_sensor.active_frontdoor_8
                state_color: true
              - type: 'custom:fold-entity-row'
                head:
                  type: section
                  label: Advanced Options
                entities:
                  - entity: input_boolean.reset_codeslot_frontdoor_8
                  - type: divider
                  - entity: input_boolean.accesslimit_frontdoor_8
                  - entity: input_number.accesscount_frontdoor_8
                    type: 'custom:numberbox-card'
                    icon: 'mdi:key-variant'
                    speed: 250
                  - type: divider
                  - entity: input_boolean.daterange_frontdoor_8
                  - entity: input_datetime.start_date_frontdoor_8
                  - entity: input_datetime.end_date_frontdoor_8
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_8
                      - input_boolean.sun_inc_frontdoor_8
                      - input_datetime.sun_start_date_frontdoor_8
                      - input_datetime.sun_end_date_frontdoor_8
                      - type: divider
                      - input_boolean.mon_frontdoor_8
                      - input_boolean.mon_inc_frontdoor_8
                      - input_datetime.mon_start_date_frontdoor_8
                      - input_datetime.mon_end_date_frontdoor_8
                      - type: divider
                      - input_boolean.tue_frontdoor_8
                      - input_boolean.tue_inc_frontdoor_8
                      - input_datetime.tue_start_date_frontdoor_8
                      - input_datetime.tue_end_date_frontdoor_8
                      - type: divider
                      - input_boolean.wed_frontdoor_8
                      - input_boolean.wed_inc_frontdoor_8
                      - input_datetime.wed_start_date_frontdoor_8
                      - input_datetime.wed_end_date_frontdoor_8
                      - type: divider
                      - input_boolean.thu_frontdoor_8
                      - input_boolean.thu_inc_frontdoor_8
                      - input_datetime.thu_start_date_frontdoor_8
                      - input_datetime.thu_end_date_frontdoor_8
                      - type: divider
                      - input_boolean.fri_frontdoor_8
                      - input_boolean.fri_inc_frontdoor_8
                      - input_datetime.fri_start_date_frontdoor_8
                      - input_datetime.fri_end_date_frontdoor_8
                      - type: divider
                      - input_boolean.sat_frontdoor_8
                      - input_boolean.sat_inc_frontdoor_8
                      - input_datetime.sat_start_date_frontdoor_8
                      - input_datetime.sat_end_date_frontdoor_8
      - type: vertical-stack
        cards:
          - content: |
              ## Code 9
            type: markdown
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_text.frontdoor_name_9
              - entity: input_text.frontdoor_pin_9
              - entity: input_boolean.enabled_frontdoor_9
              - entity: input_boolean.notify_frontdoor_9
              - type: divider
              - entity: sensor.connected_frontdoor_9
                state_color: true
              - entity: binary_sensor.active_frontdoor_9
                state_color: true
              - type: 'custom:fold-entity-row'
                head:
                  type: section
                  label: Advanced Options
                entities:
                  - entity: input_boolean.reset_codeslot_frontdoor_9
                  - type: divider
                  - entity: input_boolean.accesslimit_frontdoor_9
                  - entity: input_number.accesscount_frontdoor_9
                    type: 'custom:numberbox-card'
                    icon: 'mdi:key-variant'
                    speed: 250
                  - type: divider
                  - entity: input_boolean.daterange_frontdoor_9
                  - entity: input_datetime.start_date_frontdoor_9
                  - entity: input_datetime.end_date_frontdoor_9
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_9
                      - input_boolean.sun_inc_frontdoor_9
                      - input_datetime.sun_start_date_frontdoor_9
                      - input_datetime.sun_end_date_frontdoor_9
                      - type: divider
                      - input_boolean.mon_frontdoor_9
                      - input_boolean.mon_inc_frontdoor_9
                      - input_datetime.mon_start_date_frontdoor_9
                      - input_datetime.mon_end_date_frontdoor_9
                      - type: divider
                      - input_boolean.tue_frontdoor_9
                      - input_boolean.tue_inc_frontdoor_9
                      - input_datetime.tue_start_date_frontdoor_9
                      - input_datetime.tue_end_date_frontdoor_9
                      - type: divider
                      - input_boolean.wed_frontdoor_9
                      - input_boolean.wed_inc_frontdoor_9
                      - input_datetime.wed_start_date_frontdoor_9
                      - input_datetime.wed_end_date_frontdoor_9
                      - type: divider
                      - input_boolean.thu_frontdoor_9
                      - input_boolean.thu_inc_frontdoor_9
                      - input_datetime.thu_start_date_frontdoor_9
                      - input_datetime.thu_end_date_frontdoor_9
                      - type: divider
                      - input_boolean.fri_frontdoor_9
                      - input_boolean.fri_inc_frontdoor_9
                      - input_datetime.fri_start_date_frontdoor_9
                      - input_datetime.fri_end_date_frontdoor_9
                      - type: divider
                      - input_boolean.sat_frontdoor_9
                      - input_boolean.sat_inc_frontdoor_9
                      - input_datetime.sat_start_date_frontdoor_9
                      - input_datetime.sat_end_date_frontdoor_9
      - type: vertical-stack
        cards:
          - content: |
              ## Code 10
            type: markdown
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_text.frontdoor_name_10
              - entity: input_text.frontdoor_pin_10
              - entity: input_boolean.enabled_frontdoor_10
              - entity: input_boolean.notify_frontdoor_10
              - type: divider
              - entity: sensor.connected_frontdoor_10
                state_color: true
              - entity: binary_sensor.active_frontdoor_10
                state_color: true
              - type: 'custom:fold-entity-row'
                head:
                  type: section
                  label: Advanced Options
                entities:
                  - entity: input_boolean.reset_codeslot_frontdoor_10
                  - type: divider
                  - entity: input_boolean.accesslimit_frontdoor_10
                  - entity: input_number.accesscount_frontdoor_10
                    type: 'custom:numberbox-card'
                    icon: 'mdi:key-variant'
                    speed: 250
                  - type: divider
                  - entity: input_boolean.daterange_frontdoor_10
                  - entity: input_datetime.start_date_frontdoor_10
                  - entity: input_datetime.end_date_frontdoor_10
                  - type: 'custom:fold-entity-row'
                    head:
                      type: section
                      label: Custom Weekdays
                    entities:
                      - input_boolean.sun_frontdoor_10
                      - input_boolean.sun_inc_frontdoor_10
                      - input_datetime.sun_start_date_frontdoor_10
                      - input_datetime.sun_end_date_frontdoor_10
                      - type: divider
                      - input_boolean.mon_frontdoor_10
                      - input_boolean.mon_inc_frontdoor_10
                      - input_datetime.mon_start_date_frontdoor_10
                      - input_datetime.mon_end_date_frontdoor_10
                      - type: divider
                      - input_boolean.tue_frontdoor_10
                      - input_boolean.tue_inc_frontdoor_10
                      - input_datetime.tue_start_date_frontdoor_10
                      - input_datetime.tue_end_date_frontdoor_10
                      - type: divider
                      - input_boolean.wed_frontdoor_10
                      - input_boolean.wed_inc_frontdoor_10
                      - input_datetime.wed_start_date_frontdoor_10
                      - input_datetime.wed_end_date_frontdoor_10
                      - type: divider
                      - input_boolean.thu_frontdoor_10
                      - input_boolean.thu_inc_frontdoor_10
                      - input_datetime.thu_start_date_frontdoor_10
                      - input_datetime.thu_end_date_frontdoor_10
                      - type: divider
                      - input_boolean.fri_frontdoor_10
                      - input_boolean.fri_inc_frontdoor_10
                      - input_datetime.fri_start_date_frontdoor_10
                      - input_datetime.fri_end_date_frontdoor_10
                      - type: divider
                      - input_boolean.sat_frontdoor_10
                      - input_boolean.sat_inc_frontdoor_10
                      - input_datetime.sat_start_date_frontdoor_10
                      - input_datetime.sat_end_date_frontdoor_10

When I copy and paste into notepad++ and set language to yaml it does not recognize type: markdown.


      - type: vertical-stack
        cards:
          - content: | <-- Is this the problem??????
              ## Code 8
            type: markdown
          - type: entities

I could be barking up the wrong tree.

Looking over your yaml there, line 62 is the start of your pasted Keymaster yaml. The problem is that you’ve pasted it after yaml block that is at a very different indent level.

Move this block (lines 49-59) to the end of the file and it should resolve the problem for you.

resources:
  - url: /local/time-picker-card.js
    type: module
custom_header:
  restrict_users: true
  exceptions:
    - conditions:
        user: 95eb57372b994f0a8ad72917d95cb750
      config: {}
  split_mode: true
  disabled_mode: true

That pipe after the content is perfectly valid yaml syntax. A lot of editors don’t recognize it as such, but it is.

this section doesn’t go into the lovelace yaml file:

resources:
  - url: /local/time-picker-card.js
    type: module
custom_header:
  restrict_users: true
  exceptions:
    - conditions:
        user: 95eb57372b994f0a8ad72917d95cb750
      config: {}
  split_mode: true
  disabled_mode: true

resources are usually defined in the resources tab in storage mode. In yaml mode they go in the “lovelace:” section of configuration.yaml.

custom_header is deprecated. So if you don’t have it installed long before now you likely don’t have it available. And that is likely going to cause issues.

if you do have it installed already then that section needs to go outside of the view definition.