slashback100 / presence_simulation

Home Assistant Presence Simulation
654 stars 26 forks source link

Feature Request Option handel Device unavailable as Device Off #128

Closed cyberoeze closed 5 months ago

cyberoeze commented 5 months ago

Because Some Lights in my home are turned off by an physical button and therefore the device is not going in the Status off, it will be in go in the Status unavailable.

It would be nice if i have the option that the state device unavailable will be handeld as device off

slashback100 commented 5 months ago

I added a switch in the configuration of the component "Consider unavailable as off", which should do what you want. I didn't create a new release yet. Maybe you coud test the main version before I launch a release?

cyberoeze commented 5 months ago

i copied the code and create a dummy german translation to test it. I will test it as fast as possible

cyberoeze commented 5 months ago

Test was successfull, the only thing that i noticed are missing translations.