Hello friends
I would suggest adding the same parameters to light.toggle as applies to light.on. This is why:
I am using a single button to trigger Tasker to send a http post with json to HAss to turn my light on and off with the light.toggle service. But if I have adjusted the color or whatever, when I turn the light on again, it will still have this configuration, whereas I want to be able to set a “standard” configuration. This I can do with light.on via json, and e.g. “brightness”:“255”, but this does not work with light.toggle. Why not allow the same parameters with light.toggle as with light.on, which would, of course, only apply to the “on” part of the toggle, but that is irrelevant for the end user.
I know this could be done with some extra conditional automation, but it would be so much easier if it worked “out-of-the-box”.
Thanks!
Hans Frederik