How to define "power" commands (that remain unchanged when switching within an activity group)?

Hi,

I manually set up an IR entity. This entity is being used within different activities, which are combined as a group.

When switching activities within the group, the “Power Toggle” command is being sent, which causes the manually added device to power off (while it should simply remain on and no command was required).

How do I implement this correctly? Do I need to define the “Power Toggle” command somehow as a “power command”, so the remote understands that this is not being triggered when merely switching activities?

Any held would be appreciated.

Cheers!

I think I saw someone else who had a similar problem set up 2 commands - ‘Power On’ and ‘Power Off’ which both pointed to the power toggle IR code and this seemed to work.

A power off command is only send if the device is not included in the new activity. Make sure that you have the device in both activities so it will stay on.

Thanks, the device is included in both activities. The remote just seems to misunderstand that its not supposed to send the power toggle command.

My question therefore is, what I need to do to make the remote understand what in the sequence is a power toggle command (and not some other command). I may try the suggestion from iordish and see whether this helps. Thanks.

Make sure the toggle command is called POWER_TOGGLE (in upper case and underscore). More infos about activity groups be be found here https://support.unfoldedcircle.com/hc/en-us/articles/13215168236188-Activity-groups

1 Like

Thanks, this seems to be the exact information I needed.