Increase precision for input_number and climate-controller#76
Open
jclsn wants to merge 1 commit intocustom-cards:mainfrom
Open
Increase precision for input_number and climate-controller#76jclsn wants to merge 1 commit intocustom-cards:mainfrom
jclsn wants to merge 1 commit intocustom-cards:mainfrom
Conversation
Member
|
Can you give a couple of examples of how you are using the card with this change so I can test with the same/similar config? |
Author
Member
|
Thanks - can you share the card config (yaml) so I can do my own testing as well? |
Author
|
Sorry for the late reply. Sure type: custom:slider-button-card
entity: input_number.badezimmertemperatur_slider
slider:
direction: left-right
background: gradient
use_state_color: false
use_percentage_bg_opacity: false
show_track: false
disable_sliding: false
force_square: false
show_attribute: false
tap_action:
action: more-info
show_name: true
show_state: true
compact: false
icon:
show: true
use_state_color: true
tap_action:
action: more-info
icon: ''
action_button:
mode: toggle
icon: mdi:power
show: false
show_spinner: true
tap_action:
action: toggle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

So I tried to cleanly apply the changes I made back then to the main branch. Haven't tested this. For some reason I can't add it as custom repo in HACS anymore, because it complains about a non-compliant structure.
I also was not sure back then if this only worked for Celsius. Maybe someone using Imperial units should test it as well.
Let me know if this works and/or needs proper formatting. Would see if I can install a formatter for Typescript. I am really not web guy and just poorly hacked something together back then that worked for me.