mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
docu fix
git-svn-id: https://svn.fhem.de/fhem/trunk@4672 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f177a08a65
commit
46c80f1f1e
@ -877,8 +877,7 @@ readingsGroup_Attr($$$)
|
||||
define rg_battery readingsGroup TYPE=LaCrosse:[Bb]attery<br>
|
||||
attr rg_battery alias Batteriestatus<br>
|
||||
attr rg_battery commands { "battery.low" => "set %DEVICE replaceBatteryForSec 60" }<br>
|
||||
attr rg_battery valueFormat {($VALUE eq 'ok')?"batterie":"batterie\@red"}<br>
|
||||
attr rg_battery valueIcon %VALUE<br>
|
||||
attr rg_battery valueIcon {'battery.ok' => 'batterie', 'battery.low' => 'batterie\@red'}<br>
|
||||
<br>
|
||||
define rgMediaPlayer readingsGroup myMediaPlayer:currentTitle,<>,totaltime,<br>,currentAlbum,<>,currentArtist,<br>,volume,<{if(ReadingsVal($DEVICE,"playStatus","")eq"paused"){"%rc_PLAY%set+$DEVICE+play"}else{"%rc_PAUSE%set+$DEVICE+pause"}}@playStatus>,playStatus<br>
|
||||
attr rgMediaPlayer commands { "playStatus.paused" => "set %DEVICE play", "playStatus.playing" => "set %DEVICE pause" }<br>
|
||||
|
Loading…
Reference in New Issue
Block a user