#Message malformed: expected a dictionary for dictionary value @ data['actions'][1]['target']

1 messages · Page 1 of 1 (latest)

silent nebula
pearl shoal
#

You have a list of mappings for your target in your notify

silent nebula
tulip jewel
#

I don't know what that site is, but after looking at that code for about 2 minutes it took over my browser to some ot spam site where Spctrum is giving me $100. I would not use that site...

lusty obsidianBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

tulip jewel
#

Those are suggested here, but honestly unless it is longer than it lets you post in one paste, I would just paste it here because these are threads.

silent nebula
regal sentinel
#

That is not what they said. Attachments are annoying, especially on mobile.

silent nebula
finite blade
#

You need to figure out how to call the notify actions correctly. Go to developer tools-> actions, and try to use the notify service to notify your phone

#

At least on my setup, I can’t use notify.notify, instead I need to use the action specific to my phone (something like notify.mekaneck_phone without any target specified)

silent nebula
#

but is it even possible to do what I tried to do? notify both of the phones and the phone that chose first will get the notification afterwards?

finite blade
#

It’s certainly possible but i’m not sure if it’s possible to do elegantly. I’m not familiar with the info that the responding phone will provide. The brute force way to do this is to send a different action to each phone so that it’s clear to HA which phone responded because they will respond with an action that is unique to that phone

finite blade
silent nebula
#

well the automation working as expected, however - the last part of it (choose) part giving me Error: extra keys not allowed @ data['device_id']

finite blade
#

You are still using notify.notify in the last two sections

silent nebula
#

By the way, is it possible that if device 1 will use the actionable notification before device 2, so the notification for device 2 or his action won't do anything ?