Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Scholli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Pollet
Scholli
Commits
7a390417
Commit
7a390417
authored
Jul 16, 2020
by
Martin Pollet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ShellyDimmer: brightness starts from 1, closes
#44
parent
ce8ba665
Pipeline
#168
passed with stage
in 5 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/scholli/component/shelly_buttons.cljs
src/scholli/component/shelly_buttons.cljs
+2
-1
No files found.
src/scholli/component/shelly_buttons.cljs
View file @
7a390417
...
...
@@ -149,7 +149,8 @@
[
rn/view
{
:flex-direction
"column"
:flex
1
}
[
slider
{
:value
(
get-in
item
[
:state
:brightness
])
:onSlidingComplete
#
(
shelly/state-set
brigthness-switches
:brightness
%
)
:minimumValue
0
:maximumValue
100
; ShellyDimmer starts with 1, all others with 0: so 1 should be good enough for all
:minimumValue
1
:maximumValue
100
:thumbTintColor
"grey"
:minimumTrackTintColor
"darkgrey"
:maximumTrackTintColor
"grey"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment