How to selectively hide away devices but keep logging them in recorder/history/logbook

I am trying to selectively hide devices when they are away. For this it seemed okay to use the hide_if_away: true option in known_devices.yaml. BUT, when using this, also logbook, history and recorder components will not log not_home states (away) for those devices any more, which is weird because track: yes is still used.

How to do it then?