Much has been said about presence detection using ping, but they did not help me to fix my issue.
Basically, to configuration.yaml
added
device_tracker: !include device_tracker.yaml
And device_tracker.yaml
contained:
- platform: ping
track_new_devices: False
consider_home: 0:05
hosts:
Me: 10.33.2.103
She: 10.33.2.104
And the configuration checker complained that Me was not a valid key for hosts.
WTH?
The solution was actually simple, but took quite some time to find.
- platform: ping
track_new_devices: False
consider_home: 0:05
hosts:
me: 10.33.2.103
she: 10.33.2.104
Yep, the configuration does not like the uppercase letter for the dictionary keys.
Were using uppercase in their host names:
The documentation could benefit from an update to mention this limitation, and also to add the undocumentated options:
Hopefully this helps a few ;-).
EDIT: Unfortunately this is not enough - adding a follow up message below.