Version Text Sensor
The version text sensor platform exposes the ESPHome version the firmware
was compiled against as a text sensor.
# Example configuration entrytext_sensor: - platform: version name: "ESPHome Version"Configuration variables
Section titled “Configuration variables”- hide_timestamp (Optional, boolean): Allows you to hide the compilation timestamp from the version string. Defaults to
false. - hide_hash (Optional, boolean): Allows you to hide the config hash from the version string. Defaults to
false. - All other options from Text Sensor.
Disabling timestamp and hash
Section titled “Disabling timestamp and hash”# Example configuration entrytext_sensor: - platform: version name: "ESPHome Version" hide_timestamp: true hide_hash: trueThis will shorten the version string to be just like: 2026.1.0