robmarkcole / HASS-Deepstack-object

Home Assistant custom component for using Deepstack object detection
https://community.home-assistant.io/t/face-and-person-detection-with-deepstack-local-and-free/92041
MIT License
437 stars 97 forks source link

`target` extra key not accepted. Will become breaking change #7

Closed jaburges closed 5 years ago

jaburges commented 5 years ago

Persistent message generated by HA:

Your configuration contains extra keys that the platform does not support (but were silently accepted before 0.88). Please find and remove the following. This will become a breaking change. 

- [target]. See /config/configuration.yaml, line 54).

Docker HA v0.89.0

robmarkcole commented 5 years ago

Thanks for the issue, need to investigate

jaburges commented 5 years ago

heya, so it looks like they've completely removed the ability to use [target] in 0.90.1

2019-03-23 21:45:08 WARNING (MainThread) [homeassistant.helpers.config_validation] Your configuration contains extra keys that the platform does not support.
Please remove [target].  (See /config/configuration.yaml, line 54).
robmarkcole commented 5 years ago

OK in HA 0.94 I get this error, but it does not prevent the component from working:

2019-05-19 06:02:11 WARNING (MainThread) [homeassistant.helpers.config_validation] Your configuration contains extra keys that the platform does not support.
Please remove [target].  (See /Users/robincole/.homeassistant/configuration.yaml, line 54).
Offending data: {"platform": "deepstack_face", "ip_address": "<redacted>", "port": "<redacted>", "scan_interval": "<redacted>", "target": "person", "source": "<redacted>"}
robmarkcole commented 5 years ago

I haven't experienced this myself