From dc1559b591558e2c0838990280237207862129cd Mon Sep 17 00:00:00 2001 From: mlobstein Date: Tue, 30 Jun 2026 13:19:34 -0500 Subject: [PATCH] Correct rules examples (#21075) Signed-off-by: Michael Lobstein --- bundles/org.openhab.binding.nuvo/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.nuvo/README.md b/bundles/org.openhab.binding.nuvo/README.md index 733f9b14f3..d35e4e57ea 100644 --- a/bundles/org.openhab.binding.nuvo/README.md +++ b/bundles/org.openhab.binding.nuvo/README.md @@ -632,7 +632,8 @@ when Item music_Music_Album received update then if (music_Music_Album.state.toString() != "") { - sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + music_Music_Album.state.toString + "\",\"" + artistName + "\",\"" + trackName + "\"") + albumName = music_Music_Album.state.toString + sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + albumName + "\",\"" + artistName + "\",\"" + trackName + "\"") } end @@ -641,7 +642,8 @@ when Item music_Music_Artist received update then if (music_Music_Artist.state.toString() != "") { - sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + music_Music_Artist.state.toString + "\",\"" + artistName + "\",\"" + trackName + "\"") + artistName = music_Music_Artist.state.toString + sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + albumName + "\",\"" + artistName + "\",\"" + trackName + "\"") } end @@ -650,7 +652,8 @@ when Item music_Music_Track received update then if (music_Music_Track.state.toString() != "") { - sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + music_Music_Track.state.toString + "\",\"" + artistName + "\",\"" + trackName + "\"") + trackName = music_Music_Track.state.toString + sendCommand(nuvo_system_sendcmd, source + "DISPLINES0,0,0,\"\",\"" + albumName + "\",\"" + artistName + "\",\"" + trackName + "\"") } end