Write to register by name.

def set_raw_holding_register(self, name, value):
        """Write to register by name."""
        self._conn.write_register(
            unit=self._slave,
            address=(self._holding_regs[name]['addr']),
            value=value)