Hi all,
I have HA installed in a container and this automation:
- id: '1669668066530'
alias: 'Geofence: Switch On & Off Video Detection'
description: ''
trigger:
- platform: numeric_state
entity_id: proximity.home
below: 100
id: approaching-home
- platform: numeric_state
entity_id: proximity.home
above: 100
id: leaving-home
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: approaching-home
enabled: true
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.villa333_detect
- service: notify.mobile_app_pixel_4a
data:
message: Turning OFF Motion Detection
title: You are just about home.
- conditions:
- condition: trigger
id: leaving-home
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.villa333_detect
- service: notify.mobile_app_pixel_4a
data:
message: Turning ON Motion Detection.
title: You have left home.
mode: single
I’m getting this warning in the HA log:
2022-12-05 16:13:15.236 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Geofence: Switch On & Off Video Detection' trigger: In 'numeric_state' condition: entity proximity.home state 'not set' cannot be processed as a number
The automation works, so can someone please explain the WARNING.
TIA