code: def set_level(self, level):
          
          self.set_service_value(
              self.dimmer_service,
              'LoadLevelTarget',
              'newLoadlevelTarget',
              level)
  
          self.set_cache_value('level', level)
docs: Set open level of the curtains.
  
          Scale is 0-100