How to easy generate an autom. generated list of which devices are on-offline?

Hello, I read a lot of tracking my devices but what would be the easiest way, to have a list of all devices and the state if they are online or not? Is it necessary to create an automation? Has anybody a script which detects devices automatically so I do not have to maintain this list manually?

Maybe The Watchman is something for you.