Is this temperature update trying to update the id(Fehlercode)?
#Rocon u1
- can_id: 0x180
then:
- lambda: |-
if(x[0]==0xd2 and x[2]==0xFA and x[3]==0x00 and x[4] ==0x11) {
float temperature =float((float((int((x[6])+( (x[5])<<8))))/100));
id(Fehlercode).publish_state(temperature);
ESP_LOGD("main", "Temperature received over can is %f", temperature);
}
Is this temperature update trying to update the id(Fehlercode)?