Hide if away no longer working after Lovelace autogen --> web GUI mode

I use nmap to create device tracker for my family. The badges were hiden when away, under Lovelace UI autogeneration mode, by defining them in known_devices.yaml. But since I changed to web gui mode, the badges are no longer hidden when away.

What configuration I need to change to make it work again?
hideifaway
Thank you

update:
Badges, with GUI, can’t be hidden-if-away. So I have to create a glance card with entity-filter, as described at: