Remove extraneous parameter from AlarmDecoder services#33516
Remove extraneous parameter from AlarmDecoder services#33516balloob merged 1 commit intohome-assistant:devfrom
Conversation
|
I'm not sure if removing ---EDIT Actually, after reviewing the Envisalink keypress handler (which also uses |
|
Well actually it's all wrong. If you would have 2, only the last services would work 🤦♂ But yeah, this is better in the meanwhile. Thanks. |
|
@balloob, what's the correct way to solve this? I'm happy to fix it, just need some guidance. do you have a code excerpt from another integration that I should follow? |
|
You will need to rewrite core/homeassistant/components/sonos/media_player.py Lines 233 to 241 in 1d89d22 |
Breaking change
Proposed change
This PR removes the
entity_idfield from thealarm_keypressandalarm_toggle_chimeservices for AlarmDecoder. Theentity_idfield was not used in either of the service handlers or voluptuous schemas.It was causing issues in the Services panel UI below by prefilling fields that didn't exist and triggering a
Failed to call service alarmdecoder/alarm_keypress. extra keys not allowed @ data['entity_id']error.Type of change
Example entry for
configuration.yaml:# Example configuration.yamlAdditional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale: