home-assistant / actions

GitHub Actions for Home Assistant workflows
Apache License 2.0
29 stars 26 forks source link

hassfest: Collapsible sections giving extra keys not allowed errors #114

Open Snuffy2 opened 2 months ago

Snuffy2 commented 2 months ago

Following the instructions here: https://developers.home-assistant.io/docs/dev_101_services/#service-action-description-example I added a collapsible section to my services. Now hassfest is giving an error saying extra keys are not allowed. However, these are the keys that are listed on the HA site and appear to be working.

PR with error: https://github.com/travisghansen/hass-opnsense/pull/193

Integration opnsense - /github/workspace/custom_components/opnsense:
[64](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:67)
Error: R] [SERVICES] Invalid services.yaml: extra keys not allowed @ data['close_notice']['fields']['multiple_opnsense']['collapsed']. Got True
[65](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:68)
extra keys not allowed @ data['close_notice']['fields']['multiple_opnsense']['fields']. Got {'device_id': {'name': 'OPNsense Device', 'description': 'Select the OPNsense Router to call the command on. If not specified, the command will be sent to all OPNsense Routers.', 'required': False, 'selector': {'device': {'multiple': False, 'filter': [{'integration': 'opnsense'}], 'entity': [{'domain': 'sensor'}]}}}, 'entity_id': {'name': 'OPNsense Entity', 'description': 'Pick any sensor in the OPNsense Router you want to call the command on. If not specified, the command will be sent to all...
[66](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:69)
extra keys not allowed @ data['restart_service']['fields']['multiple_opnsense']['collapsed']. Got True
[67](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:70)
extra keys not allowed @ data['restart_service']['fields']['multiple_opnsense']['fields']. Got {'device_id': {'name': 'OPNsense Device', 'description': 'Select the OPNsense Router to call the command on. If not specified, the command will be sent to all OPNsense Routers.', 'required': False, 'selector': {'device': {'multiple': False, 'filter': [{'integration': 'opnsense'}], 'entity': [{'domain': 'sensor'}]}}}, 'entity_id': {'name': 'OPNsense Entity', 'description': 'Pick any sensor in the OPNsense Router you want to call the command on. If not specified, the command will be sent to all...
[68](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:71)
extra keys not allowed @ data['send_wol']['fields']['multiple_opnsense']['collapsed']. Got True
[69](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:72)
extra keys not allowed @ data['send_wol']['fields']['multiple_opnsense']['fields']. Got {'device_id': {'name': 'OPNsense Device', 'description': 'Select the OPNsense Router to call the command on. If not specified, the command will be sent to all OPNsense Routers.', 'required': False, 'selector': {'device': {'multiple': False, 'filter': [{'integration': 'opnsense'}], 'entity': [{'domain': 'sensor'}]}}}, 'entity_id': {'name': 'OPNsense Entity', 'description': 'Pick any sensor in the OPNsense Router you want to call the command on. If not specified, the command will be sent to all...
[70](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:73)
extra keys not allowed @ data['start_service']['fields']['multiple_opnsense']['collapsed']. Got True
[71](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:74)
extra keys not allowed @ data['start_service']['fields']['multiple_opnsense']['fields']. Got {'device_id': {'name': 'OPNsense Device', 'description': 'Select the OPNsense Router to call the command on. If not specified, the command will be sent to all OPNsense Routers.', 'required': False, 'selector': {'device': {'multiple': False, 'filter': [{'integration': 'opnsense'}], 'entity': [{'domain': 'sensor'}]}}}, 'entity_id': {'name': 'OPNsense Entity', 'description': 'Pick any sensor in the OPNsense Router you want to call the command on. If not specified, the command will be sent to all...
[72](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:75)
extra keys not allowed @ data['stop_service']['fields']['multiple_opnsense']['collapsed']. Got True
[73](https://github.com/travisghansen/hass-opnsense/pull/193/checks#step:4:76)
extra keys not allowed @ data['stop_service']['fields']['multiple_opnsense']['fields']. Got {'device_id': {'name': 'OPNsense Device', 'description': 'Select the OPNsense Router to call the command on. If not specified, the command will be sent to all OPNsense Routers.', 'required': False, 'selector': {'device': {'multiple': False, 'filter': [{'integration': 'opnsense'}], 'entity': [{'domain': 'sensor'}]}}}, 'entity_id': {'name': 'OPNsense Entity', 'description': 'Pick any sensor in the OPNsense Router you want to call the command on. If not specified, the command will be sent to all...
2024-09-17_21-56-25 494