Virtual Switch Tile

The Momentary Button Tile DTH immediately issues an ‘on’ state and immediately issues an ‘off’ state.

Sending an off() command for this particular device is the same as sending the on() command, so you do not want to setup a rule to send the off command when the switch turns on or it’s just going to loop until it gets rate limited. (Momentary Button Tile code)

The way that this devices sends the on and off events immediately could be an issue for display purposes with the Switch Tile.

I would suggest either:

A) Change the tile layout from Switch Tile to Momentary Tile and disable the rule(s) that have been created to send the off command when the switch turns on

-OR-

B) Change the Device Type Handler for these particular virtual devices to use the normal Virtual Switch DTH (then the rule for turning the switch back off when it turns on would be needed)

1 Like