The versatile custom Swiss Army Knife card for Home Assistant allows you to create your unique visualization using several graphical tools, styling options and animations.
223
stars
19
forks
source link
Can't use notify service because of entity_id being added #250
Before you file a bug, make sure that you did not make a configuration mistake. The Swiss Army Knife in its current state does not yet have full configuration sanity checks!
So make sure your problem is not related to that!
[x] Yes, I'm sure that it is not a configuration mistake
Swiss Army Knife version
The version you are using. See HACS or the Browser console
2.5.1
Bug description
call-service action will always add entity_id to service_data which is not allowed when notify.* services are called.
Failed to call service notify/mobile_app_oneplus_open. extra keys not allowed @ data['entity_id']
To Reproduce
Steps to reproduce the behavior:
You need a notify service, so connect the Android companion app. This adds notify.mobile_app_* as a service.
Bug report notice
Before you file a bug, make sure that you did not make a configuration mistake. The Swiss Army Knife in its current state does not yet have full configuration sanity checks!
So make sure your problem is not related to that!
Swiss Army Knife version
The version you are using. See HACS or the Browser console
2.5.1
Bug description
call-service
action will always addentity_id
toservice_data
which is not allowed whennotify.*
services are called.To Reproduce
Steps to reproduce the behavior:
notify
service, so connect theAndroid companion app
. This addsnotify.mobile_app_*
as a service.user_actions
belowExpected behavior
Instead of a message on the Android phone an HA error message is shown in the dashboard
Screenshots
None
Desktop browser (please complete the following information):
Companion App on Smartphone/Tablet (please complete the following information):
Additional context https://github.com/AmoebeLabs/swiss-army-knife-card/blob/b19d4d8d353aba86f88ab2efd05e7f11bf7d0b64/src/base-tool.js#L586
(Optional): Suggested Solution
I need a switch to deaktivate the addition of missing
entity_id
. Maybe likte this