# Problem with status of a powered-off module

**URL:** <https://community.gladysassistant.com/t/probleme-de-statut-dun-module-hors-tension/9345>\
**Category:** Configuration\
**Created:** [January 30, 2025, 11:13am UTC](https://community.gladysassistant.com/t/probleme-de-statut-dun-module-hors-tension/9345 "2025-01-30T11:13:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![l.dolle](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/l.dolle/32/17380_2.png) [@l.dolle](https://community.gladysassistant.com/u/l.dolle)\
**Post date:** [January 30, 2025, 11:13am UTC](https://community.gladysassistant.com/t/probleme-de-statut-dun-module-hors-tension/9345/1 "2025-01-30T11:13:55Z")

</div>

Hello,

I have a motion detector that I’m using for tests. I don’t want to unplug it after the tests, and I notice that once it’s unplugged, its state in Gladys remains active. (Indeed, when I unplugged it, I was in front of it).  
I thought that when powered off, the module in Gladys would switch to inactive.  
Is this a bug?

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/1/4/14bc2b91facd07156e28ab8c33886463d8e28756.png)

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [January 30, 2025, 5:12pm UTC](https://community.gladysassistant.com/t/probleme-de-statut-dun-module-hors-tension/9345/2 "2025-01-30T17:12:09Z")

</div>

Zigbee2mqtt only operates in value-reception mode for this case. If the device doesn’t send a presence=false, Z2M and therefore Gladys won’t change the value.

We could implement a reset to the initial value after a certain amount of time, but it’s complicated and depends on each device and functionality.
