esphome:
  name: host-sensor-test
host:
api:
logger:
sensor:
  - platform: template
    name: Test Sensor
    id: test_sensor
    unit_of_measurement: °C
    lambda: return 42.0;
    update_interval: 0.1s
