diff --git a/homeassistant/components/trend/binary_sensor.py b/homeassistant/components/trend/binary_sensor.py index 1c6c75d6ce5..4b4bd48bfe3 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -203,7 +203,7 @@ class SensorTrend(BinarySensorEntity): return # Calculate gradient of linear trend - await self.hass.async_add_job(self._calculate_gradient) + await self.hass.async_add_executor_job(self._calculate_gradient) # Update state self._state = (