Skip to content

Commit aaf1019

Browse files
committed
Fix README
1 parent 3ebf4bb commit aaf1019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ $power = $clientLightB->getMeter(new \ShellyClient\Model\Request\MeterRequest())
6666
// Get device name set above in construct
6767
$deviceNameDeviceB = $clientLightB->getDeviceName();
6868
// or use device name set in shelly device
69-
$deviceNameShelly = $clientLightB->getSettings(new \ShellyClient\Model\Request\SettingsRequest())->getDevice();
69+
$deviceNameShelly = $clientLightB->getSettings(new \ShellyClient\Model\Request\SettingsRequest())->getName();
7070
```
7171

7272
## Supported Platforms

0 commit comments

Comments
 (0)