Lovelace no longer loads since upgrading to .81

Hi There,

Since applying the .81 upgrade, My Lovelace UI no longer loads. I receive the Following in the logs…

About

REFRESH

Press the button to load the full Home Assistant log.

## Log Details (ERROR)

Sun Oct 28 2018 18:19:45 GMT+1000 (Australian Eastern Standard Time)

Unexpected exception

Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.py", line 16, in _handle_async_response await func(hass, connection, msg) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/lovelace/__init__.py", line 271, in websocket_lovelace_config load_config, hass.config.path(LOVELACE_CONFIG_FILE)) File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/lovelace/__init__.py", line 145, in load_config for card in view.get('cards', []): TypeError: 'NoneType' object is not iterable

My ui-lovelace.yaml looks like:-

title: Den Otter
views:
# - title: Home
- icon: mdi:home
  cards:
    - type: vertical-stack
      cards:
      - type: conditional
        conditions:
        - entity: sensor.trash_day
          state: "no"
        card:
         type: weather-forecast
         entity: weather.bellbird_park
      - type: conditional
        conditions:
        - entity: sensor.trash_day
          state: "yes"
        card:
          type: picture-elements
          image: /local/lovelace/appliances/trash-day.jpg
          elements: 
            - type: image
              entity: sensor.recycle_day
              state_image:
                "yes": /local/lovelace/appliances/recycle.jpg
              style:
                top: 50%
                left: 50%
                width: 28%
            - type: image
              entity: sensor.green_day
              state_image:
                "yes": /local/lovelace/appliances/greens.jpg
              style:
                top: 50%
                left: 19%
                width: 35%

      - type: horizontal-stack
        cards:
        - type: gauge
          entity: sensor.outside_temperature
          title: Outside
          min: 0
          max: 40
          severity:
            green: 0
            yellow: 22
            red: 28
        - type: gauge
          entity: sensor.lr_corrected_temp 
          title: Inside
          min: 0
          max: 40
          severity:
            green: 0
            yellow: 22
            red: 28
      
      - type: entity-filter
        entities:
          - device_tracker.22a1b784190d7ece
          - device_tracker.fa69j0307494
          - device_tracker.cc59wym10492
          - device_tracker.c4jdu16727000130
          - device_tracker.02157df2ba9f362c
        state_filter:
            - 'home'
        card:
          type: glance
          title: People Home
    
    - type: vertical-stack
      cards: 
      - type: entity-filter
        entities:
          - fan.living_room_fan
          - switch.erin_fan_21 
          - switch.lounge_fan 
          - switch.parents_fan_38
          - switch.reillys_fan_11
          - switch.toilet_fan_switch
        state_filter:
        - 'on'
        card:
          type: glance
          title: Fans Currently On
      - type: entity-filter
        entities:
          - switch.kitchen_light2
          - switch.kitchen_light
          - switch.lr_light
          - switch.lr_light2
          - switch.lr_light3
          - switch.lr_main_light
          - entity: switch.hall_lights
            name: Hall Light (Front)
          - entity: light.hall_front_31
            name: Hall Light (Middle)
          - entity: light.hallway_light_switch
            name: Hall Light (Rear)
          - light.garage_outside_29
          - light.outside_front_32
          - light.parents_light_39
          - switch.deck_lights
          - light.reillys_light_10
          - light.erin_light_22
          - entity: switch.laundry_light_relay
            name: Laundry Light
          - entity: switch.toilet_light_switch
            name: Toilet Light
        state_filter:
          - 'on'
        card:
          type: entities
          title: Lights Currently On
          # - title: Living Room
- icon: mdi:radio
  cards:
    - type: vertical-stack
      cards: 
        - type: picture-elements
          image: /local/lovelace/appliances/robovac-on.jpg
          elements:
    
          - type: icon
            icon: mdi:bell-ring
            tap_action: call-service
            entity: vacuum.mavis
            service: vacuum.locate
            style:
              top: 83%
              left: 80%

          - type: icon
            tap_action: call-service
            icon: mdi:home
            entity: vacuum.mavis
            service: vacuum.return_to_base
            style:
              top: 83%
              left: 60%
              "--paper-item-icon-color": rgb(115, 122, 130)   

          - type: icon
            icon: mdi:play
            tap_action: call-service
            entity: vacuum.mavis
            service: script.initialise_vacuum_start
            style:
              top: 83%
              left: 40%
              "--paper-item-icon-color": rgb(115, 122, 130)

          - type: icon
            icon: mdi:stop
            tap_action: call-service
            entity: vacuum.mavis
            service: vacuum.stop
            style:
              top: 83%
              left: 20%
              "--paper-item-icon-color": rgb(115, 122, 130)

          - type: icon
            icon: mdi:clock-outline
            entity: sensor.mavis_cleaning_time
            style:
              top: 93%
              left: 5%
          - type: state-label
            entity: sensor.mavis_cleaning_time
            style:
              top: 93%
              left: 15%

          - type: icon
            icon: mdi:blender
            entity: sensor.mavis_main_brush
            style:
              top: 93%
              left: 25%
              "--paper-item-icon-color": rgb(115, 122, 130)   
          - type: state-label
            entity: sensor.mavis_main_brush
            style:
              top: 94%
              left: 34%

          - type: icon
            icon: mdi:blender
            entity: sensor.mavis_side_brush
            style:
              top: 93%
              left: 45%
              "--paper-item-icon-color": rgb(115, 122, 130)
          - type: state-label
            entity: sensor.mavis_side_brush
            style:
              top: 94%
              left: 54%

          - type: icon
            icon: mdi:filter
            entity: sensor.mavis_filter
            style:
              top: 93%
              left: 65%
              "--paper-item-icon-color": rgb(115, 122, 130)
          - type: state-label
            entity: sensor.mavis_filter
            style:
              top: 94%
              left: 74%          

          - type: icon
            icon: mdi:counter
            entity: sensor.mavis_cleaning_count
            style:
              top: 93%
              left: 85%
              "--paper-item-icon-color": rgb(115, 122, 130)
          - type: state-label
            entity: sensor.mavis_filter
            style:
              top: 94%
              left: 93%

            
          - type: state-label
            entity: sensor.mavis_status 
            style:
              top: 10%
              left: 5%
              color: rgb(255, 255, 255)
              transform: translate(0%,-50%)
              pointer-events: none
              text-shadow: 1px 1px black
              font-family: Trebuchet MS
              font-size: 90%
              font-weight: bold
              border-left-style: solid
              border-color: rgb(34, 154, 210)
              background-color: rgb(54, 65, 78)
              opacity: 0.8
          - type: state-label
            entity: sensor.mavis_battery2
            style:
              top: 10%
              right: 5%
              color: rgb(255, 255, 255)
              transform: translate(0%,-50%)
              pointer-events: none
              text-shadow: 1px 1px black
              font-family: Trebuchet MS
              font-size: 90%
              font-weight: bold
              border-right-style: solid
              border-color: rgb(34, 154, 210)
              background-color: rgb(54, 65, 78)
              opacity: 0.8
        - type: picture-entity
          entity: climate.kelvinator
          state_image:
            "cool": /local/lovelace/appliances/ac-cool.jpg
            "idle": /local/lovelace/appliances/ac-off.jpg
            "off": /local/lovelace/appliances/ac-off.jpg
            "": /local/lovelace/appliances/ac-off.jpg
            "heat": /local/lovelace/appliances/ac-heat.jpg


    - type: picture-elements
  #    title: Living Room
      image: /local/lovelace/rooms/living-room-on.jpg
      elements:
        - type: state-icon
          entity: switch.lr_main_light
          tap_action: toggle
          style:
             top: 90%
             left: 5%
             color: white
        - type: state-icon
          entity: fan.living_room_fan
          tap_action: toggle
          style: 
            top: 90%
            left: 14%
            color: white

        - type: icon
          icon: mdi:hotel
          entity: sensor.parents_corrected_temp
          tap_action: more-info
          style:
            top: 87%
            left: 50%              
            color: white
        - type: state-label
          entity: sensor.parents_corrected_temp
          style:
            top: 95%
            left: 50%
            color: white
        - type: icon
          icon: mdi:human-male
          entity: sensor.reilly_temp_13
          tap_action: more-info
          style:
            top: 87%
            left: 64% 
            color: white
        - type: state-label
          entity: sensor.reilly_temp_13
          style:
            top: 95%
            left: 64%
            color: white
        - type: icon
          icon: mdi:human-female
          entity: sensor.erin_temp_24
          tap_action: more-info
          style:
            top: 87%
            left: 78% 
            color: white
        - type: state-label
          entity: sensor.erin_temp_24
          style:
            top: 95%
            left: 78%
            color: white
        - type: icon
          icon: mdi:silverware
          entity: sensor.lr_corrected_temp
          tap_action: more-info
          style:
            top: 87%
            left: 92% 
            color: white
        - type: state-label
          entity: sensor.lr_corrected_temp
          style:
            top: 95%
            left: 92%
            color: white
    - type: entities     
      title: Living Room
      show_header_toggle: true
      entities:
      - input_select.vacuum_bin
      - fan.living_room_fan
      - group.living_room_lights

I dont even know where to start trouble shooting this.

The Normal UI is working fine

Try to comment out the “conditional” cards first.