mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-11 20:02:12 +01:00
parent
1a228145a6
commit
3381217a5e
@ -493,7 +493,7 @@ advanced stuff (see the full API Reference for more info).
|
|||||||
ESP_LOGI("main", "Value of my sensor: %f", id(my_sensor).state);
|
ESP_LOGI("main", "Value of my sensor: %f", id(my_sensor).state);
|
||||||
|
|
||||||
- ``raw_state``: Retrieve the current value of the sensor that has not passed through any filters
|
- ``raw_state``: Retrieve the current value of the sensor that has not passed through any filters
|
||||||
Is ``NAN`` if no value if no value has been pushed by the sensor itself yet.
|
Is ``NAN`` if no value has been pushed by the sensor itself yet.
|
||||||
|
|
||||||
.. code-block:: cpp
|
.. code-block:: cpp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user