Add number entity support#7876
Conversation
|
Does this consider the more-info dialog? |
|
There is no more-info dialog, which is same as with input_number. |
| "input_text", | ||
| "lock", | ||
| "media_player", | ||
| "number", |
There was a problem hiding this comment.
This means you would need to add a specific state card for this domain, like the input_number also has:
https://github.com/home-assistant/frontend/blob/dev/src/state-summary/state-card-input_number.js#L26
|
Yes, that is the state card I linked above. |
|
Ok, got it. Is |
It is pretty dangerous to use the UI of Input Number everywhere, it means we always have to check if the 2 are in sync when changes are made. I think we should just copy them |
Copied |
|
Yes please :-) |
|
Done. |

Breaking change
N/A
Proposed change
Add frontend support for the new
numberentity.Currently it is shown as a box because it is the default for the
input_numberwhich we are re-using. But I will raise a PR to core to allow slider mode, which will be supported automatically.Type of change
Example configuration
demo:Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: