Camera view changed after added custom_ui

After customizing the entities like below, my video view got changed from a video view to a small view with toggle. Any clue how to fix it?

.”:
custom_ui_state_card: state-card-custom-ui
show_last_changed: true

Now:
1

Before:
debc4ba4c191f45ffddc86cd9fbffa5371a13a2e_1_666x500

yes, it’s a known issue with the custom-UI in recent HA versions.

To fix it you need to not use customUI for that component. It also affected other things, too.

The way I did it was to use a customize_glob:

customize_glob:
  weather.*:
    custom_ui_state_card: null
  camera.*:
    custom_ui_state_card: null
  history_graph.*:
    custom_ui_state_card: null
  media_player.*:
    custom_ui_state_card: null