LG WebOs: How to use "current_app_id" in automation?

I’ve added a feature request here: LG webOS: expose whether TV is on Home screen. Please do vote!