Does a Warforged receive all the benefits of a long rest while wearing armor? [closed]

In Rising From The Last War, Warforged’s Integrated Protection states you can take a rest while donning or doffing armor. Sentry’s Rest also states that you appear inert, which I and my group have interpreted as being able to sit or stand anywhere in a kind of powered down mode. With the resting rules from Xanathar’s, does a Warforged have to take off their armor to receive full hit dice and remove exhaustion during a long rest?