It is not possible for the addon to tell the difference between the device being in the sleep state or if it is disconnected. In both cases it does not respond.
It is not actually a true if configuration contain seep section, when device go dark you can use sleep value and show sleep and than when this period is over display offline. it would be really nice feature for large enviroments with a lot of deep_sleep devices, like mine