Hi all, I’ve been getting the warning regarding extra keys since updating to 0.88, relating to my custom sensor to monitor my Harmony Hub’s current activity, the sensor is currently working fine but I saw the warning that it will break in the next release:
Your configuration contains extra keys that the platform does not support.
Please remove [app_id], [app_key], [queries]. (See C:\Homeassistant\sensor.yaml, line 5)
So the automatic discovery of Harmony Hub Remote includes options that Home Assistant considers invalid? Sounds like a potential bug.
Can you post the first few lines of C:\Homeassistant\sensor.yaml because Home Assistant seems to be complaining about something on line 5 (or thereabouts).
Don’t worry, I’ve fixed it, it wasn’t the harmony entry at all, there were some entries much further down (line 23 & 24) which weren’t properly commented out, not sure why it was reporting them as line 5 though!?
That’s why I asked to see the contents of C:\Homeassistant\sensor.yaml since it was sensor-related.
Home Assistant isn’t always precise when it reports an ‘offending line number’. That’s why I included “or thereabouts” because the reported line number might be several lines away from the trouble spot. My guess is that, in this case, line 5 contains the start of another entity’s definition. Because only this line was commented out #- platform: uk_transport its options (app_id, etc) were considered to be part of the previous entity.
It was your “thereabouts” comment that pointed me in the right direction as I’d been focusing purely on line 5 which referred to the harmony hub…so thanks for that.
Will teach me to be less lazy when commenting out old lines.