I'm trying to understand what is my error:
`
set_puffer_setpoint_for_pdc:
fields:
temp:
description: "Temperatura (in gradi) target del puffer"
example: "48"
default: 48
sequence:
- variables:
and_result: "{{ states('sensor.temp_target_acqua_del_puffer_raw') | int | bitwise_and(0xFF00) }}"
final_temp: "{{ and_result | int | bitwise_and(temp) }}" - action: notify.mobile_app_sm_a528b
data:
title: Test Script
message: "Final Temp: {{ final_temp }}, temp = {{ temp }}, and_result = {{ and_result }}"
`
Final_temp is alway 0, intead temp and and_result have the values that I expect..
any suggestion to fix it?