docs
This commit is contained in:
16
docs/redux/thunks/database/getDeviceIdByNameThunk.md
Normal file
16
docs/redux/thunks/database/getDeviceIdByNameThunk.md
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- /docs/redux/thunks/database/getDeviceIdByNameThunk.md -->
|
||||
|
||||
# 🆔 getDeviceIdByNameThunk.js
|
||||
|
||||
Async-Thunk zur Ermittlung der ID eines Geräts anhand des Gerätenamens.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(getDeviceIdByNameThunk("Kue705"));
|
||||
```
|
||||
|
||||
## Verhalten
|
||||
|
||||
- Ruft `getDeviceIdByNameService(deviceName)` auf
|
||||
- Fehler werden mit `rejectWithValue(error.message)` behandelt
|
||||
Reference in New Issue
Block a user