slashback100 / presence_simulation

Home Assistant Presence Simulation
654 stars 26 forks source link

Stopped working #102

Closed Wright55 closed 10 months ago

Wright55 commented 10 months ago

Noticed last few days when I have wanted lights to come on whilst away from home, lights were not activating. I generally use within an automation, but have tested manually.

This is the log

This error originated from a custom integration.

Logger: homeassistant Source: custom_components/presence_simulation/init.py:341 Integration: Presence Simulation (documentation, issues) First occurred: 13 November 2023 at 10:44:58 (150 occurrences) Last logged: 15:02:58

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/config/custom_components/presence_simulation/init.py", line 301, in simulate_single_entity await update_entity(entity_id, state) File "/config/custom_components/presence_simulation/init.py", line 341, in update_entity color_mode = color_mode+"_color"


TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
slashback100 commented 10 months ago

Duplicate of #99, and fixed in v3.2