slashback100 / presence_simulation

Home Assistant Presence Simulation
423 stars 22 forks source link

switch.presence_simulation is unavailable after install #89

Closed AndLindemann closed 11 months ago

AndLindemann commented 1 year ago

I installed the integration from HACS with fairly simple settings (just one light entity, otherwise all settings as they came by default). But the switch.presence_simulation entity is always unavailable, so it can't be toggled on or off. So it doesn't really work at all. Any idea what the issue is here? HA version 2023.6.3.

When I'm installing the integration, the following error appears in the HA protocol and also does so on every HA restart afterwards:

image

Config:

image image image
slashback100 commented 1 year ago

Could you activate the log, try to activate the Switch and send me the log?

slashback100 commented 1 year ago

There is an error icon next to the switch entity, could you also provide me the installation log?

ksga commented 1 year ago

Same issue - reboot fixed it :)

AndLindemann commented 1 year ago

The switch starts to work and is available once I used the service to switch the integration on for the first time. After that the switch started working as well. I'm still seeing that :0.0 Script error in the log though on every HA restart if the integration is installed. Wasn't able to get any further log output from it though. Turning on debug logging in the integration doesn't seem to help with that.