flobi24
(flo)
December 19, 2022, 7:35pm
1
Hello everyone,
according to the KNX integration documentation, it should be possible to define a step value for the type number.
When I try this, the code shows “Proberty step is not allowed”.
In my case, I would like to adjust the temperature in 0.5 degree steps.
How can i implement that?
Many thanks for your help.
Regards.
Flo
farmio
(Matthias Alphart)
December 19, 2022, 7:55pm
2
Hi !
Can you post the exact yaml which raised that error (in code tags ```)?
And maybe the exact error message?
rak
(Ralf Klüber)
December 19, 2022, 7:56pm
3
Cant help you with KNX … but what would work is a input_number
and a automation which updates the KNX element if the input_number changes.
flobi24
(flo)
December 19, 2022, 9:00pm
4
Hi,
thank you for your quick reply.
Here is the code:
number:
-name: "SOLL Temp Büro"
address: "1/2/1"
respond_to_read: true
type: temperature
min: 18
max: 24
step: 0.5 *Property Step is not allowed.*
mode: slider
Thanks in advance for your help.
Regards.
Flo
farmio
(Matthias Alphart)
December 19, 2022, 9:36pm
5
Ah, I see. This error is emitted from the VSCode plugin. Unfortunately this is not always 100% accurate in validating input - and in this case it seems the step
key was just forgotten
Nevertheless, just save that config and run HAs internal config validator:
Developer Tools → YAML → Check Configuration
It will work just fine.
keesschollaart81:dev
← farmio:knx-update-2022-12
opened 09:57PM - 19 Dec 22 UTC
Update KNX for changes in 2022.12
Add
- Text entity
- Number: step
- Senso… r: device_class
- Switch: device_class
flobi24
(flo)
December 20, 2022, 7:44pm
6
OMG, it worked.
Thanks a lot for your help and providing a solution.
Regards.
Florian
1 Like