good catch on the -_ (again, potato, potahto )
just having - entity: switch.bedlamp line brings up the history box, it does not toggle the switch. The other change you proposed does work. Donāt know why it did not for me before, probably a typo somewhere thenā¦