mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 10:57:01 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
+++ /dev/fd/62 2022-11-17 20:26:43.611134223 +0000
|
||||
+++ /dev/fd/62 2022-11-19 22:44:23.979739346 +0000
|
||||
+52 +306,47 @@
|
||||
+ spstr strCommand.txt,tTmp.txt,"~",2
|
||||
+ //save third arg if there's one
|
||||
|
||||
@@ -1073,18 +1073,36 @@ Timer tmSerial
|
||||
spstr strCommand.txt,entn.txt,"~",3
|
||||
//icon
|
||||
spstr strCommand.txt,tIcon.txt,"~",4
|
||||
//icon farbe
|
||||
spstr strCommand.txt,tTmp.txt,"~",5
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,tIcon.pco,0,0
|
||||
}
|
||||
//title
|
||||
spstr strCommand.txt,tTitle.txt,"~",5
|
||||
//author
|
||||
spstr strCommand.txt,tAuthor.txt,"~",6
|
||||
//volume
|
||||
spstr strCommand.txt,tTitle.txt,"~",6
|
||||
//title farbe
|
||||
spstr strCommand.txt,tTmp.txt,"~",7
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,tTitle.pco,0,0
|
||||
}
|
||||
//author
|
||||
spstr strCommand.txt,tAuthor.txt,"~",8
|
||||
//author farbe
|
||||
spstr strCommand.txt,tTmp.txt,"~",9
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,tAuthor.pco,0,0
|
||||
}
|
||||
//volume
|
||||
spstr strCommand.txt,tTmp.txt,"~",10
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hVolume.val=sys0
|
||||
//icon
|
||||
spstr strCommand.txt,tPlayPause.txt,"~",8
|
||||
spstr strCommand.txt,tPlayPause.txt,"~",11
|
||||
//speaker current
|
||||
spstr strCommand.txt,tSpeaker.txt,"~",9
|
||||
spstr strCommand.txt,tSpeaker.txt,"~",12
|
||||
if(tSpeaker.txt!="")
|
||||
{
|
||||
tSpeaker.pco=1374
|
||||
@@ -1093,14 +1111,14 @@ Timer tmSerial
|
||||
tSpeaker.pco=65535
|
||||
}
|
||||
//speaker list
|
||||
spstr strCommand.txt,vaSpeakerList.txt,"~",10
|
||||
spstr strCommand.txt,vaSpeakerList.txt,"~",13
|
||||
if(vaSpeakerList.txt=="")
|
||||
{
|
||||
vis t6,0
|
||||
}
|
||||
vaSpeakerPos.val=0
|
||||
// on off button
|
||||
spstr strCommand.txt,tTmp.txt,"~",11
|
||||
spstr strCommand.txt,tTmp.txt,"~",14
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
vis t5,0
|
||||
@@ -1110,7 +1128,7 @@ Timer tmSerial
|
||||
covx tTmp.txt,t5.pco,0,0
|
||||
}
|
||||
//tIconBtnEntityName
|
||||
spstr strCommand.txt,vaMenu.txt,"~",12
|
||||
spstr strCommand.txt,vaMenu.txt,"~",15
|
||||
}
|
||||
if(tInstruction.txt=="time")
|
||||
{
|
||||
|
||||
@@ -10,10 +10,6 @@ pageTest
|
||||
14 Component(s)
|
||||
14 Line(s) of event code
|
||||
14 Unique line(s) of event code
|
||||
cardMedia
|
||||
34 Component(s)
|
||||
406 Line(s) of event code
|
||||
216 Unique line(s) of event code
|
||||
cardGrid
|
||||
42 Component(s)
|
||||
490 Line(s) of event code
|
||||
@@ -54,6 +50,10 @@ screensaver
|
||||
45 Component(s)
|
||||
389 Line(s) of event code
|
||||
288 Unique line(s) of event code
|
||||
cardMedia
|
||||
34 Component(s)
|
||||
421 Line(s) of event code
|
||||
222 Unique line(s) of event code
|
||||
cardPower
|
||||
43 Component(s)
|
||||
435 Line(s) of event code
|
||||
@@ -74,5 +74,5 @@ cardEntities
|
||||
Total
|
||||
17 Page(s)
|
||||
583 Component(s)
|
||||
7219 Line(s) of event code
|
||||
1876 Unique line(s) of event code
|
||||
7234 Line(s) of event code
|
||||
1879 Unique line(s) of event code
|
||||
|
||||
@@ -641,18 +641,36 @@ Timer tmSerial
|
||||
spstr strCommand.txt,entn.txt,"~",3
|
||||
//icon
|
||||
spstr strCommand.txt,tIcon.txt,"~",4
|
||||
//icon farbe
|
||||
spstr strCommand.txt,tTmp.txt,"~",5
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,tIcon.pco,0,0
|
||||
}
|
||||
//title
|
||||
spstr strCommand.txt,tTitle.txt,"~",5
|
||||
//author
|
||||
spstr strCommand.txt,tAuthor.txt,"~",6
|
||||
//volume
|
||||
spstr strCommand.txt,tTitle.txt,"~",6
|
||||
//title farbe
|
||||
spstr strCommand.txt,tTmp.txt,"~",7
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,tTitle.pco,0,0
|
||||
}
|
||||
//author
|
||||
spstr strCommand.txt,tAuthor.txt,"~",8
|
||||
//author farbe
|
||||
spstr strCommand.txt,tTmp.txt,"~",9
|
||||
if(tTmp.txt!="")
|
||||
{
|
||||
covx tTmp.txt,tAuthor.pco,0,0
|
||||
}
|
||||
//volume
|
||||
spstr strCommand.txt,tTmp.txt,"~",10
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hVolume.val=sys0
|
||||
//icon
|
||||
spstr strCommand.txt,tPlayPause.txt,"~",8
|
||||
spstr strCommand.txt,tPlayPause.txt,"~",11
|
||||
//speaker current
|
||||
spstr strCommand.txt,tSpeaker.txt,"~",9
|
||||
spstr strCommand.txt,tSpeaker.txt,"~",12
|
||||
if(tSpeaker.txt!="")
|
||||
{
|
||||
tSpeaker.pco=1374
|
||||
@@ -661,14 +679,14 @@ Timer tmSerial
|
||||
tSpeaker.pco=65535
|
||||
}
|
||||
//speaker list
|
||||
spstr strCommand.txt,vaSpeakerList.txt,"~",10
|
||||
spstr strCommand.txt,vaSpeakerList.txt,"~",13
|
||||
if(vaSpeakerList.txt=="")
|
||||
{
|
||||
vis t6,0
|
||||
}
|
||||
vaSpeakerPos.val=0
|
||||
// on off button
|
||||
spstr strCommand.txt,tTmp.txt,"~",11
|
||||
spstr strCommand.txt,tTmp.txt,"~",14
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
vis t5,0
|
||||
@@ -678,7 +696,7 @@ Timer tmSerial
|
||||
covx tTmp.txt,t5.pco,0,0
|
||||
}
|
||||
//tIconBtnEntityName
|
||||
spstr strCommand.txt,vaMenu.txt,"~",12
|
||||
spstr strCommand.txt,vaMenu.txt,"~",15
|
||||
}
|
||||
if(tInstruction.txt=="time")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user