This metric will discover offline devices within your Unifi environments. The query results aren't formatted well, if anyone is better at shaping results this could use some changes.
Devices[?state==
0
].[ip,model,name]