if (command == OnOffType.ON && getAddress().length() == 8) {
// Whenever the button receives an ON command,
// we send a simulated button press to the Nikobus
int times = (type == PressType.LONG) ? NikobusCommand.MAX_REPEAT
: 1;
binding.sendCommand(new NikobusCommand(getAddress(), times));
binding.sendCommand(new NikobusCommand(END_OF_TRANSMISSION));
}
notifyModulesChanged(false, binding);
}