Button to change entity state

A bit of a challenge, but sorted.

Create a new Status called Occupied

Create an Automation Command for Table Occupied


Plus the good old Update Program Setting if you don’t have it

Table Occupied rule


Update New Ticket Creating Rule rule to reset Occupied

Update Update New Order Entity Color so it doesn’t change Table to New Orders

End result - Yellow Table indicates Occupied