async def async_set_value(self, value: float) -> None:
    'Set new value.'
    if self.entity_description.setter:
        (await self.entity_description.setter(self._inverter, int(value)))
    self._attr_value = value
    self.async_write_ha_state()
Set new value.
async def async_set_value(self, value: float) -> None:
    
    if self.entity_description.setter:
        (await self.entity_description.setter(self._inverter, int(value)))
    self._attr_value = value
    self.async_write_ha_state()