slashback100 / presence_simulation

Home Assistant Presence Simulation
684 stars 26 forks source link

Presence simulation ignores switch #123

Closed ginkel closed 7 months ago

ginkel commented 7 months ago

Hi there,

recently (probably since the most recent update) the presence simulation seems to ignore its switch, i.e., lights are controlled automatically despite the switch being turned off. Enabling the debug log unfortunately did not lead to any insights.

Currently running v4.5.

Any ideas?

Thanks, Thilo

slashback100 commented 7 months ago

I don't observe the same behavior with v4.5 and latest HA version (2024.4.2). Could you anyway send me the debug logs after turning off the switch please?

slashback100 commented 7 months ago

Do you have several simulation switches or just one?

PablaV commented 7 months ago

Think I have the same issue, the switch is off (I only have one switch) however lights are turning on and off. I look at the history of the light that turned on/off and it says it was turned on/off by scene activate. The only scene I have configured is the scene that is created by the integration. I can grab logs if needed but there seems to be some disconnect between the state of the switch and the simulation turning on and off.

slashback100 commented 7 months ago

Hmmm strange. Could you please activate the debug logs, turn off the switch, verify that the lights are still going on/off and send me the log?

Thanks for your help !

PablaV commented 7 months ago

I think I figured out what the issue is exactly, opened a new issue here just in case its not the same as originally described

slashback100 commented 7 months ago

@ginkel, is it the same issue described by PablaV in #130 that you have ?

ginkel commented 7 months ago

@ginkel, is it the same issue described by PablaV in #130 that you have ?

I'm not 100% certain as I haven't been able to obtain meaningful debug logs, but that quite plausible.

slashback100 commented 7 months ago

Ok, since I have no information on a potential other issue, I will close this one. Feel free to re-open if you have new information that can help me investigating.