@jriker1 wrote:
I am trying to run some automations I found on a blog that is supposed to be working but whenever both devices report as away or are arriving I get errors in the logs like:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57 in
result = self.fn*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassitant/components/proximity/init.py”, line 192, in check_proximity_state_change
if device_state.state in self.ignored_zones:
AttributeError: ‘NoneType’ object has no attribute ‘state’Glad to share my automation just don’t have cut and paste access to my server right ow so all the above was hand typed. Will share the part I would guess triggered this:
- alias: 'Away Mode' initial_state: 'on' trigger: platform: state entity_id: group.everyone to: 'not_home' action: - service: notify.ios_johniosapp data: message: "no one home"
Thanks.
JR
Posts: 1
Participants: 1