Possibly a bug, for the button attribute it only shows gets as a trigger. For other attributes it shows a whole host of triggers.
This limits the way the button devices can be used since buttons are often held which means they will continue to show held as the status until they are released and the piston should be able to use the current status of a button in a if condition when triggered by another device.
e.g. keep holding the button which triggers a volume increase which triggers the piston which checks if the button is still held and then increases the volume and this continues in a loop into until the button is released.
Ideally it should show the same triggers as any other attribute (e.g. switch or alarm).
Possibly a bug, for the
buttonattribute it only showsgetsas a trigger. For other attributes it shows a whole host of triggers.This limits the way the button devices can be used since buttons are often
heldwhich means they will continue to showheldas the status until they are released and the piston should be able to use the current status of a button in a if condition when triggered by another device.e.g. keep holding the button which triggers a volume increase which triggers the piston which checks if the button is still held and then increases the volume and this continues in a loop into until the button is released.
Ideally it should show the same triggers as any other attribute (e.g. switch or alarm).