diff --git a/README.md b/README.md index bdab5c0..35eb58e 100644 --- a/README.md +++ b/README.md @@ -125,21 +125,22 @@ Sitemaps for the OhEzTouch can contain the following elements: - Slider - Switch - Text +- Default Example sitemap (```oheztouch.sitemap```): ``` sitemap oheztouch label="OhEzTouch Test" { Switch item=OHEZTOUCH_Switch - Selection item=OHEZTOUCH_Select mappings=["SEL1"="Selection 1", "SEL2"="Selection 2", "SEL3"="Selection 3", "SEL4"="Selection 4", "SEL5"="Selection 5", "SEL6"="Selection 6"] - Setpoint item=OHEZTOUCH_Number label="Setpoint" minValue=5 maxValue=180 step=5 - Slider item=OHEZTOUCH_Number label="Slider" minValue=5 maxValue=180 step=5 - Colorpicker item=OHEZTOUCH_Color + Selection item=OHEZTOUCH_Switch mappings=[OFF="Off", ON="On"] + Selection item=OHEZTOUCH_Select mappings=["SEL1"="Selection 1", "SEL2"="Selection 2", "SEL3"="Selection 3"] + Default item=OHEZTOUCH_Player + Default item=OHEZTOUCH_Rollershutter + Text label="Submenu" icon="settings" { - Switch item=OHEZTOUCH_Switch - Setpoint item=OHEZTOUCH_Number label="Setpoint" minValue=5 maxValue=180 step=5 - Slider item=OHEZTOUCH_Number label="Slider" minValue=5 maxValue=180 step=5 + Setpoint item=OHEZTOUCH_Number label="Setpoint" minValue=-10 maxValue=10 step=0.5 + Slider item=OHEZTOUCH_Number label="Slider" minValue=-10 maxValue=10 step=1 Text item=OHEZTOUCH_Number label="Text" Colorpicker item=OHEZTOUCH_Color } @@ -148,11 +149,14 @@ sitemap oheztouch label="OhEzTouch Test" ``` Items for example sitemap: ``` -String OHEZTOUCH_Select "Selection" -String OHEZTOUCH_String "String" -Switch OHEZTOUCH_Switch "Switch" -Number OHEZTOUCH_Number "Number [%d sec]"