ha-shellies-discovery icon indicating copy to clipboard operation
ha-shellies-discovery copied to clipboard

Add SHCB-1 support

Open tc-maxx opened this issue 1 year ago • 4 comments

I have now found the error, the entities already existed for me, so I didn't notice the error. I have now tested it again and here is the complete adjustment. Maybe you can implement it a little nicer ;) ? Thank you Max

tc-maxx avatar Nov 15 '23 10:11 tc-maxx

It seems there is a problem with effects:

2023-11-16 16:01:51.721 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_template] Unsupported effect value received
2023-11-16 16:02:21.719 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_template] Unsupported effect value received
2023-11-16 16:02:51.722 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_template] Unsupported effect value received

bieniu avatar Nov 16 '23 15:11 bieniu

I haven't noticed the problem in the log yet. But the effect is set correctly. Apparently there are problems parsing the id of the effect.

There was still an error when setting the effect. Id:4 must be changed to id:3.

"{%elif effect==^Flash^%},^effect^:4" -> "{%elif effect==^Flash^%},^effect^:3"

But that still doesn't solve the problem

tc-maxx avatar Nov 17 '23 11:11 tc-maxx

Are you going to finish this PR? I think we were very close to proper implementation.

bieniu avatar Dec 19 '23 18:12 bieniu

Stale pull request message

github-actions[bot] avatar Feb 18 '24 08:02 github-actions[bot]