I’m switching over to using the new Lovelace UI Editor. When I go to edit a Glance Card I have, I see the following error:
Your config is not supported by the UI editor:
**Expected a value of type `{entity,name,icon} | entity-id` for `entities.0.tap_action` but received `{"action":"toggle"}`.**
Falling back to YAML editor.
This is my yaml:
entities:
- entity: switch.kitchen_lamp_1
tap_action:
action: toggle
- entity: switch.kitchen_lamp_2
tap_action:
action: toggle
title: Kitchen Lamps
type: glance
show_name: true
show_icon: true
show_state: false
If I remove the tap_action/action lines, then I can get the normal editor to work.
Can’t find a reason why… It isn’t possible to configure the tap action from the new UI editor.
The other issue I have with this is that when I change the above so that the UI Editor works, the switches for show_state and show_header_toggle aren’t reflected correctly when I then edit the Glance card again. For example, if I turn off show_state, save the card, then edit it. It shows the switch as enabled, but it isn’t.