sensor: - platform: derivative name: Main Bathroom Humidity Change Rate source: sensor.main_bathroom_environment_zth04_humidity round: 1 unit_time: s # the resulting "unit_of_measurement" will be %H/s if the sensor.temperate has set %H as its unit time_window: "00:00:10" # we look at the change over the last 10 seconds