We now send events to InfluxDB on state change