Choice by Numbers #19949
Unanswered
SERichard1974
asked this question in
Automations / scripts / scenes
Choice by Numbers
#19949
Replies: 3 comments 1 reply
-
Have you explored what you can do with dropdown (select) helpers? Those allow you to just define a list of fixed values and select between them easily in the UI. I don't quite know if that's what you're asking about, but it sounds similar. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It’s a kludge workaround… but yes it does work. However simple number choices should also work similar.
From: karwosts ***@***.***>
Sent: Saturday, March 2, 2024 6:14 PM
To: home-assistant/frontend ***@***.***>
Cc: SERichard1974 ***@***.***>; Author ***@***.***>
Subject: Re: [home-assistant/frontend] Choice by Numbers (Discussion #19949)
Have you explored what you can do with dropdown (select) helpers? Those allow you to just define a list of fixed values and select between them easily in the UI.
I don't quite know if that's what you're asking about, but it sounds similar.
—
Reply to this email directly, view it on GitHub <#19949 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/A5YFSUDXR6ODBQKGOG3EXCLYWJTNFAVCNFSM6AAAAABEDLTKDKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMNJUG4YTS> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/A5YFSUF5W2CKJ5QTXW7LRV3YWJTNFA5CNFSM6AAAAABEDLTKDKWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAQQHX6.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
1 reply
-
From: karwosts ***@***.***>
Sent: Wednesday, March 6, 2024 11:12 AM
To: home-assistant/frontend ***@***.***>
Cc: SERichard1974 ***@***.***>; Author ***@***.***>
Subject: Re: [home-assistant/frontend] Choice by Numbers (Discussion #19949)
Are you trying to use numeric_state condition? If you just want to specify an exact value for your number you can just use state condition, not numeric_state.
—
Reply to this email directly, view it on GitHub <#19949 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/A5YFSUCEKKSA2PVDZDGVTMLYW5E6DAVCNFSM6AAAAABEDLTKDKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMOJWG44DK> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently when using choice and a numeric value... We have the ability to select an option based on a given range. But I would like to have the ability for selecting an option based on a given number value not having to specify a range...
Example 1: Using an aqara cube I have a numeric helper where I store the last side it was on... Currently for a few scripts I have to choose based on the number being between 1 & 3 for the value 2, etc.
Example 2: I have RF controlled fans that I have recently added a broadlink RM4Pro to control them inside the house. These being dumb fans with only input going to them I have to track their current fan speed for a few automations. I store the speed in the values 0-3 (off, low, med, high) in a numeric helper, choice between them.
In both of these cases Having the ability to just do a value choose rather than having to use a template value expression in the UI vs using YAML do this would be a very big help to alot of users, not just myself.
Beta Was this translation helpful? Give feedback.
All reactions