jghaanstra / cloud.shelly

Homey app to control Shelly Cloud devices
GNU General Public License v3.0
21 stars 14 forks source link

Action event not triggered (Dimmer 2) #217

Closed Zakraket closed 6 months ago

Zakraket commented 6 months ago

Action events don't seem to trigger on a Dimmer 2 with the new generic device. see here https://community.homey.app/t/app-pro-cloud-shelly/765/5074?u=zakraket

It still works on the old way (the generic action from previous app-version) as long as the device is not updated

jghaanstra commented 6 months ago

I have looked into this but can not find the cause just by looking at the code. Everything seems normal there but perhaps I'm overlooking soemthing.

Unfortunately I don't have a gen1 Dimmer 2 to test this with so I cant determine if it's a bug or something within your setup.

What I'm going to do it temporary make the generic action event card available again in the next release so you can test if that card works with your newly paired Dimmer. That would at lease confirm it's a bug in the new device specific action event card.

Zakraket commented 6 months ago

That would be great, I'll test it then.

Would really appreciate if you could keep the generic action card available in future versions, of course if it doesn't interfere with your plans for the app

btw, I will probably add a SHelly RGWB today so I can test if the action card is available and working on that also

jghaanstra commented 6 months ago

It's available in the test channel. Please install this version and see if:

https://homey.app/a/cloud.shelly/test/

Would really appreciate if you could keep the generic action card available in future versions, of course if it doesn't interfere with your plans for the app

As the majority seems to prefer the device specific implementation (including Athom) and I dont plan to support both (also not something that Athom would like) you are out of luck.

Zakraket commented 6 months ago

Since yesterday-evening (probably got the update automatically?) both work, also the old generic version works for the new generic device type. So for my dimmer 2 (installed with the generic device type) I'm getting two triggers at the same time: the generic action and the device specific action.

Seems like maybe the old action enabled something for the new?