Is it no longer possible to use custom:hui- cards?

I’ve built this rather complex remote for my ‘star heaven’ light (RF controlled).
It has worked for quite a while.
But now it complains in the lovelace, that the custom:hui-conditional-card doesn’t exist?

entities:
  - card:
      cards:
        - color-type: icon
          entity: light.trappe
          icon: 'mdi:plus'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b01'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12370
          type: 'custom:button-card'
        - color-type: icon
          entity: light.trappe
          icon: 'mdi:minus'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b02'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12360
          type: 'custom:button-card'
        - color-type: icon
          entity: light.trappe
          icon: 'mdi:lightbulb-off-outline'
          show_name: false
          tap_action:
            action: call-service
            service: light.turn_off
            service_data:
              entity_id: light.trappe
          type: 'custom:button-card'
        - color-type: icon
          entity: light.trappe
          icon: 'mdi:lightbulb-outline'
          show_name: false
          state:
            - icon: 'mdi:lightbulb-on'
              value: 'on'
          tap_action:
            action: call-service
            service: light.turn_on
            service_data:
              entity_id: light.trappe
          type: 'custom:button-card'
      type: horizontal-stack
    conditions:
      - entity: light.trappe
        state: 'on'
    type: 'custom:hui-conditional-card'
  - card:
      cards:
        - color-type: blank-card
          style: |
            ha-card{background:transparent;box-shadow: none;}
          type: 'custom:button-card'
        - color-type: blank-card
          style: |
            ha-card{background:transparent;box-shadow: none;}
          type: 'custom:button-card'
        - color-type: blank-card
          style: |
            ha-card{background:transparent;box-shadow: none;}
          type: 'custom:button-card'
        - color: 'rgb(255,255,255)'
          color-type: icon
          entity: light.trappe
          icon: 'mdi:lightbulb-outline'
          show_name: false
          state:
            - color: 'rgb(255,255,0)'
              icon: 'mdi:lightbulb-on'
              value: 'on'
          tap_action:
            action: call-service
            service: light.turn_on
            service_data:
              entity_id: light.trappe
          type: 'custom:button-card'
      type: horizontal-stack
    conditions:
      - entity: light.trappe
        state: 'off'
    type: 'custom:hui-conditional-card'
  - card:
      cards:
        - color: 'rgb(255,0,0)'
          color-type: icon
          icon: 'mdi:lightbulb-on'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b05'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12370
          type: 'custom:button-card'
        - color: 'rgb(0,255,0)'
          color-type: icon
          icon: 'mdi:lightbulb-on'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b06'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12380
          type: 'custom:button-card'
        - color: 'rgb(0,0,255)'
          color-type: icon
          icon: 'mdi:lightbulb-on'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b07'
              RfHigh: 1220
              RfLow: 460
              RfSync: 12380
          type: 'custom:button-card'
        - color-type: icon
          icon: 'mdi:lightbulb-on-outline'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b08'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12360
          type: 'custom:button-card'
      type: horizontal-stack
    conditions:
      - entity: light.trappe
        state: 'on'
    type: 'custom:hui-conditional-card'
  - card:
      cards:
        - color: 'rgb(255,255,0)'
          color-type: icon
          icon: 'mdi:lightbulb-on'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b09'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12360
          type: 'custom:button-card'
        - color: 'rgb(0,255,255)'
          color-type: icon
          icon: 'mdi:lightbulb-on'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b0A'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12370
          type: 'custom:button-card'
        - color: 'rgb(255,0,255)'
          color-type: icon
          icon: 'mdi:lightbulb-on'
          show_name: false
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b0b'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12370
          type: 'custom:button-card'
        - color-type: blank-card
          style: |
            ha-card{background:transparent;box-shadow: none;}
          type: 'custom:button-card'
      type: horizontal-stack
    conditions:
      - entity: light.trappe
        state: 'on'
    type: 'custom:hui-conditional-card'
  - card:
      cards:
        - color-type: icon
          icon: 'mdi:traffic-light'
          name: Jump3
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b0c'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12370
          type: 'custom:button-card'
        - color-type: icon
          icon: 'mdi:traffic-light'
          name: Jump7
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b10'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12370
          type: 'custom:button-card'
        - color-type: icon
          icon: 'mdi:traffic-light'
          name: Fade3
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b14'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12360
          type: 'custom:button-card'
        - color-type: icon
          icon: 'mdi:traffic-light'
          name: Fade7
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b18'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12380
          type: 'custom:button-card'
        - color-type: icon
          icon: 'mdi:star'
          name: Spark
          tap_action:
            action: call-service
            service: script.send_rf_command
            service_data:
              RfCode: '#597b1c'
              RfHigh: 1220
              RfLow: 450
              RfSync: 12380
          type: 'custom:button-card'
      type: horizontal-stack
    conditions:
      - entity: light.trappe
        state: 'on'
    type: 'custom:hui-conditional-card'
show_header_toggle: false
title: Trappe
type: entities

Did that change at some point?

This has been stopped, use hui-element as a workaround.

1 Like