Version Text Sensor¶
The version
text sensor platform exposes the ESPHome version the firmware
was compiled against as a text sensor.

# Example configuration entry
text_sensor:
- platform: version
name: "ESPHome Version"
Configuration variables:¶
name (Required, string): The name of the text sensor.
hide_timestamp (Optional, boolean): Allows you to hide the compilation timestamp from the version string. Defaults to
false
.id (Optional, ID): Manually specify the ID used for code generation.
All other options from Text Sensor.
Disabling the compilation timestamp:¶
# Example configuration entry
text_sensor:
- platform: version
name: "ESPHome Version"
hide_timestamp: true
This will, for example, change the output of the sensor from:
1.15.0-dev (Jun 8 2020, 18:53:16)
to 1.15.0-dev