There’s a thread for the single button now and device type by Mitch. Post 35 has code link (links to Mitch’s GitHub)