Hi.
Is it possible to use input_text helper value from Home Assistant as CCS811 sensor Baseline value in ESPHome device?
Slice of my ESPHome device code:
...
sensor:
- platform: homeassistant
id: ccs811_baseline_input
entity_id: input_text.ccs811_baseline
- platform: ccs811
eco2:
id: ccs811_eco2
name: "eCO2"
tvoc:
id: ccs811_tvoc
name: "TVOC"
address: 0x5A
baseline: id(ccs811_baseline_input).state | int(base=16) # <-- This should to be set same value that "input_text.ccs811_baseline" contain.
temperature: bme280_temp
humidity: bme280_hum
...