# Jak wyciągnąć z climate Informację o ustawionej nastawie temperatury?

**URL:** <https://forum.arturhome.pl/t/jak-wyciagnac-z-climate-informacje-o-ustawionej-nastawie-temperatury/7072>\
**Category:** Home Assistant\
**Tags:** głowica, rejestr-encji, ogrzewanie\
**Created:** [23 Listopad 2022 23:02 UTC](https://forum.arturhome.pl/t/jak-wyciagnac-z-climate-informacje-o-ustawionej-nastawie-temperatury/7072 "2022-11-23T23:02:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Autor:** ![Piotr1](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/piotr1/32/13889_2.png) [@Piotr1](https://forum.arturhome.pl/u/Piotr1)\
**Data wpisu:** [23 Listopad 2022 23:02 UTC](https://forum.arturhome.pl/t/jak-wyciagnac-z-climate-informacje-o-ustawionej-nastawie-temperatury/7072/1 "2022-11-23T23:02:04Z")

</div>

Witajcie,

Potrzebuję wsparcia aby z climate głowicy termostatycznej wyciągnąć informację o aktualnej temperaturze zadanej.  
Potrzebuje do wykresu gdzie chcę nałożyć temp pomieszczenia setpoint i % otwarcia zaworu.

Temperaturę znalazłem jak wyciągnąć:

```auto
    temperatura_salon_p:
      friendly_name: "termostat_salon_p_temperatura"
      value_template: "{{ state_attr('climate.termostat_salon_p', 'current_temperature') }}"
      unit_of_measurement: "°C"
      device_class: temperature
      unique_id : temperatura_salon_p  

```

Znalazłem że zmienna ta nazywa się target\_temperature i podmieniłem  
w linijce

```auto
value_template: "{{ state_attr('climate.termostat_salon_p', 'target_temperature') }}"

```

Ale nie działa ☹

---

<div class="post-metadata">

**Autor:** ![ajakubek](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/ajakubek/32/4220_2.png) [@ajakubek](https://forum.arturhome.pl/u/ajakubek)\
**Data wpisu:** [23 Listopad 2022 23:31 UTC](https://forum.arturhome.pl/t/jak-wyciagnac-z-climate-informacje-o-ustawionej-nastawie-temperatury/7072/2 "2022-11-23T23:31:58Z")

</div>

> [@Piotr1](#):
>
> Znalazłem że zmienna ta nazywa się target\_temperature

A nie przypadkiem

```auto
current_heating_setpoint

```

---

<div class="post-metadata">

**Autor:** ![macek](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/macek/32/1647_2.png) [@macek](https://forum.arturhome.pl/u/macek)\
**Data wpisu:** [24 Listopad 2022 05:53 UTC](https://forum.arturhome.pl/t/jak-wyciagnac-z-climate-informacje-o-ustawionej-nastawie-temperatury/7072/3 "2022-11-24T05:53:05Z")

</div>

> [@Piotr1](#):
>
> Ale nie działa

Pokaż całą encję `climate.termostat_salon_p` (z Narzędzi deweloperskich) i cały kod encji “_aktualnej temperatury zadanej_”.

---

<div class="post-metadata">

**Autor:** ![Piotr1](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/piotr1/32/13889_2.png) [@Piotr1](https://forum.arturhome.pl/u/Piotr1)\
**Data wpisu:** [24 Listopad 2022 17:23 UTC](https://forum.arturhome.pl/t/jak-wyciagnac-z-climate-informacje-o-ustawionej-nastawie-temperatury/7072/4 "2022-11-24T17:23:36Z")

</div>

Znalazłem prawidłowa nazwa to:

```auto
`temperature'

```

Dzięki @macek za naprowadzenie.  
Mój błąd szukałem nazwy w Internecie bo myślałem że to odgórny standard  
Poniżej cała encja:

````auto
hvac_modes: auto, heat, off
min_temp: 5
max_temp: 35
target_temp_step: 0.5
preset_modes: none, auto, manual, off, on
current_temperature: 18.4
temperature: 21
preset_mode: auto
battery: 83
boost_heating: OFF
boost_heating_countdown: null
child_lock: UNLOCK
current_heating_setpoint: 21.0
friday_schedule: 4h:0m 21°C, 8h:0m 19°C, 16h:0m 21°C, 22h:0m 19°C 
heating: ON
linkquality: 126
local_temperature: 18.4
local_temperature_calibration: -1.4
max_temperature: 26.0
min_temperature: 7.0
monday_schedule: 4h:0m 21°C, 8h:0m 19°C, 16h:0m 21°C, 22h:0m 19°C 
position: 100.0
preset: auto
saturday_schedule: 7h:45m 21°C, 11h:30m 21°C, 18h:0m 21°C, 23h:0m 19°C 
sunday_schedule: 7h:45m 21°C, 11h:30m 21°C, 18h:0m 21°C, 23h:0m 19°C 
system_mode: auto
thursday_schedule: 4h:0m 21°C, 8h:0m 19°C, 16h:0m 21°C, 22h:0m 19°C 
tuesday_schedule: 4h:0m 21°C, 8h:0m 19°C, 16h:0m 21°C, 22h:0m 19°C 
wednesday_schedule: 4h:0m 21°C, 8h:0m 19°C, 16h:0m 21°C, 22h:0m 19°C 
window: CLOSED
window_detection: ON
friendly_name: Termostat Salon P
supported_features: 17```
````
