rename_device
Change the friendly name of any WeMo device discovered on your network. Provide the current device name or IP and a new name to update it in the WeMo app and device cache.
Instructions
Rename a WeMo device (change its friendly name).
Changes the friendly name of a WeMo device. This is the name that appears in the WeMo app and is used to identify the device. The device must have been discovered via scan_network first.
After renaming, the device cache will be updated with the new name. You may want to run scan_network again to refresh the device list.
Args:
device_identifier: Current device name (e.g., "Office Dimmer") or IP address (e.g., "192.168.1.100")
new_name: New friendly name for the device (e.g., "Office Light")Returns:
Dictionary containing:
- success: Boolean indicating if the rename succeeded
- old_name: The previous name of the device
- new_name: The new name of the device
- device_ip: IP address of the deviceInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_identifier | Yes | ||
| new_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||