Update 2024-11-08-number_selector.md

This commit is contained in:
epenet 2024-11-08 11:47:56 +01:00 committed by GitHub
parent 25dd21db0b
commit ef680d70b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ The [Number selector](https://www.home-assistant.io/docs/blueprint/selectors/#nu
Set this parameter in [config flows](/docs/data_entry_flow_index#show-form) to eliminate the extra schema validation step.
New implementation:
New implementation (using `as_int` parameter):
```python
vol.Schema(