#[SOLVED] Trying to group IKEA LED2201G8 and Tuya TS0012

1 messages · Page 1 of 1 (latest)

solemn sandal
#

I'm trying to group IKEA LED2201G8 light entity and one of the switch entities of the Tuya TS0012.
I started by creating a helper to change device type of a switch to light.
Then I'm trying to create a light group containing two entities, one is the original light, and the other is the fake light from the switch.
When I click preview i get an error "Failed to perform the action light/turn_on. not a valid value for dictionary value @ data['entity_id']"

How should the light entity and switch entity be combined to get one light entity I can control from other automations and android widgets as one thing?

solemn sandal
#

Still need help with this. Any clues would be apreciated.

weak atlas
#

The part

data['entiti_id']
sounds like a typo in the action call. It should be entity_id

solemn sandal
#

unless... could it actually be entiti somewhere in the code and it puts that in there?

#

I'll try to recreate it and then i'll try to view the yaml

weak atlas
#

How did you create the light group?

solemn sandal
#

before that i created the helper to change switch into light.

weak atlas
#

Looks correct.

solemn sandal
#

yea, i thought so too.

#

on the bottom is the actually error

#

it was a typo on my side

weak atlas
#

Create the helper and test that entity. I assume the preview cannot be switched, because no entity is created yet.

solemn sandal
#

ooooh... you mean the preview is just for looks?

#

not to actually test it?

solemn sandal
#

I got misled by the preview being interactive

#

there should be a warning for the preview lol

#

[SOLVED] Trying to group IKEA LED2201G8 and Tuya TS0012

#

@weak atlas thanks for the help 🙂 I would probably be running in circles for weeks