OneWire binding not working

Hardware: Raspberry pi 4
OS: openHABian
version : openHAB 2.5
I was trying to implement oneWire GPIO binding
The items file:

Number:Temperature LivingRoomTemperature "Temperature [%f °C]" <temperature> { channel="onewiregpio:sensor:b74f3917:temperature" }


sitemap led label="uvindex"
Text item=LivingRoomTemperature

But I am getting an error :

2020-02-14 08:07:05.005 [WARN ] [rthome.model.script.actions.BusEvent] - Cannot convert 'null' to a state type which item 'Temperature' accepts: [DecimalType, QuantityType, UnDefType].

When I run the shell script I am able to get the temperature values
please help on the issue

i use onewire gpio. my itmes file looks similar to yours. what is your things-file? this is my:

Thing onewiregpio:sensor:ofen "Temperatursensor" @ "Ofen" [
    // gpio_bus_file="/sys/bus/w1/devices/3b-2c98073d975f/w1_slave",

Try the item like this:

Number LivingRoomTemperature "Temperature [%.1f °C]" <temperature> { channel="onewiregpio:sensor:b74f3917:temperature" }