# Example configuration entry text_sensor: - platform: custom lambda: auto my_custom_sensor = new UartReadLineSensor(id(uart_bus)); App.register_component(my_custom_sensor); return {my_custom_sensor}; text_sens
Example YAML snippet wifi:ssid:!secret wifi_ssidpassword:!secret wifi_passwordmanual_ip:static_ip:192.168.100.206gateway:192.168.100.1subnet:255.255.255.0...text_sensor: -platform:templatename:Uptimeid:uptime_humanicon:mdi:clock-start-platform:wifi_infoip_address:name:IPicon:"mdi:ip-outline"update_...
This results in new prometheus metrics for text sensors. The main reason I want this is for outputting and tracking ESPHome version numbers through the ESPHome Version Text Sensor Example metrics are as follows: #TYPE esphome_text_sensor_value gauge #TYPE esphome_text_sensor_failed gauge esphome_...
ssid:"Bluz Fallback Hotspot"password:"oKGigeHPAqnq"captive_portal:esp32_ble_tracker:text_sensor:...
text_sensor: - platform: template name: "${friendly_name} State" update_interval: 1s lambda: |- if( id(run_motor).is_running() ) { return {"Running"}; } else if( id(flash_pos_switch_error).is_running() ) { return {"Jammed"}; } ...
Prefixed by sensor-. state: The text-based state of the sensor as a string. value: The floating point (filtered) value of the sensor. Binary Sensor Binary sensors have a similar payload and also only support GET requests. For example requesting the current state of a binary sensor using ...
Check to see if the sensor is online. With any luck it is like my example above. Now click “Configure”: Home Assistant – Devices Menu – Configure ESPHome It should ask you if you want to add the node to Home Assistant. Select “Submit” and then it will ask you for your encrypti...
sensor: -platform:dallas internal:false address:0x4300000BE7C17F28 name:"Living Room Temperature" filters: -filter_out:nan And config file have a lot of comments asking to set some values (like sensor ID above) and links to ESPHome docs. ...
Check to see if the sensor is online. With any luck it is like my example above. Now click “Configure”: Home Assistant – Devices Menu – Configure ESPHome It should ask you if you want to add the node to Home Assistant. Select “Submit” and then it will ask you for your encrypti...
time: - platform: homeassistant id: homeassistant_time # Text sensors with general information. text_sensor: # Expose ESPHome version as sensor. - platform: version name: ESPHome Version # Expose WiFi information as sensors. - platform: wifi_info ip_address: name: IP ssid: name: SSID bssid...