forked from pmpkk/openhab_spotify-webconnect-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspotify.items
36 lines (28 loc) · 934 Bytes
/
spotify.items
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Switch to Force Update */
Switch spotify_forceupadte
/* Strings for Primary Auth */
String spotify_auth_code
String spotify_client_id
String spotify_client_secret
/* Strings for Token Auth */
String spotify_access_token "AccessToken [%s]"
String spotify_refresh_token "RefreshToken [%s]"
String spotify_token_expiry "TokenExpiry [%s]"
DateTime spotify_token_issued "TokenIssued [%s]"
/* Strings to store Player Data */
String spotify_current_track
String spotify_current_artist
String spotify_current_cover
String spotify_current_duration
String spotify_current_progress
Number spotify_current_progress_percent
Switch spotify_current_playing
String spotify_current_context_uri
String spotify_current_device
String spotify_current_device_id
Number spotify_current_volume
/* Switches for Player actions */
String spotify_action
DateTime spotify_lastConnectionDateTime
/* Strings to store JSONs */
String spotify_device_list