def kpl_set_on_mask(self, address, group, mask):
        """Get the status of a KPL button."""
        addr = Address(address)
        device = self.plm.devices[addr.id]
        device.states[group].set_on_mask(mask)
Get the status of a KPL button.