Lovelace problem

Hi, i´m trying to show the state of my open/close and motion sensors inside an entitiy card but every time i write the code and restart Hass the code i just wrote disapears and lovelace turns off. The problem starts in the row of the title “ingresos”.

title: ACOTEC
views:
  - title: ACOTEC
    cards:
      - type: entities
        title: all automations
        show_header_toggle: true
        entities:
          - automation.seguridad__puerta_principal_away
          - automation.seguridad_casa
          - automation.seguridad_desactivar
          - automation.seguridad_puerta_principal_home
          - automation.seguridad_intrusion_detectada
      - type: entities
        title: all switches
        show_header_toggle: true
        entities:
          - switch.siren
      - type: entities
        title: Ingresos
        entities:
          - binary_sensor.puerta_principal
          - binary_sensor.planta_baja
          - binary_sensor.ingreso_ariba
      - type: entities
        title: Movimiento
        entities:
          - binary_sensor.movimiento_pb
          - binary_sensor.movimiento_descanso
      - type: entities
        title: Ruptura de Vidrios
        entities:
          - binary_sensor.ruptura_de_vidrio

Please format your code like shown in the blue box at the top.
Then we will see. :slightly_smiling_face:

First off, is lovelace set as your default? If not you have to go to yourip/lovelace.

Second, are you clearing the cache and reloading the page? (CTRL+F5)

You don’t have to restart hass when you edit the ui-lovelace.yaml, just click Refresh in the topright menu.
Do you mean the code also dissapeared after restart?
Then i assume a sd card problem.