def publish_brightness(self, brightness):
        """publish changed brightness"""
        self.sequence_number += 1
        self.publisher.send_multipart(msgs.MessageBuilder.brightness(self.sequence_number, brightness))
        return self.sequence_number