Generic information about some troubles

hi all , im sergio from italy , im a newbie and im sorry for my bad english . (lol) .
Just have some questions about alarm control panel and some thermostat integration .
I can manage the arm/away - disarm by code , but what i want do is just disarm with code , while arming trigger without code . actually i can do with an automation , but i want to be able the integrate alarm panel button for make it . it is possible and how i can do ?
The thermostat that i have is a zigbee tuya based wall thermostat , and actually i can manage it from ha , with tuya integration , but it show wrong temp value , i mean without dot , so it show 23,0° in 230 . it is possible to setup this in some way ? if someone that would help me need some configuration.yaml or some log files , i can provide to post . Any help is appreciate . ty

If you include the line:

    code_arm_required: false

…in your configuration, this will allow you to arm the alarm with a single button press. It’s set to “true” by default.

i try to be much clear , i want disarm the alarm with code , and i want arm alarm without code
so:
ARM - button press alarm panel
DISARM - button with code

i know that code_arm_required : false

but it just off the code in both situation

Ah. In my setup you still need the code to disarm - which is what you want, I think.

My configuration is very simple:

alarm_control_panel:
  - platform: manual
    name: Home - Away
    code: !secret controlpanel
    code_arm_required: false
    delay_time: 0
    arming_time: 0

Perhaps yours is different in some way?

alarm_control_panel:
  - platform: manual
    name: Allarme Casa
    code: !secret alarmcode
    arming_time: 120
    delay_time: 20
    trigger_time: 180
    disarmed: 
      trigger_time: 0
      delay_time: 0
    

actually i can arm without code , but cannot disarm … invalid code , i have stored the alarmcode in the secrets.yaml

ok i notice that if i store the code in secrets.yaml it not work , even if i put

code: 12343454

it work

alarmcode: "12343454"

alarmcode: "{{ code == '12343454' }}"

ok i found the error

really ty , and for thermostat?

Don’t know much about Tuya, but could it mean that the sensor’s device class is wrong, or not set? If it is set to temperature it should automatically use the units given in Settings | System | General.

i try to be clear too for thermostat issue .
I have that much that one of tuya zigbee thermostat and i can manage one of this directly by tuya integration , the other one with zha , with a zigee gateway already mod ( lidl gateway ) . I dont know why if i reverse or put both in tuya integration or zha , one of they say no entity no control . So when i try to manage for example the tuya integration thermostat , i can control on off and temp , its just a visual error , without the , so what i ask is if theres somethin for add the ,
Schermata 2023-04-28 alle 01.01.33