Merge pull request #8931 from Cooper-Dale/patch-10

wrong service name
This commit is contained in:
DubhAd 2019-03-14 07:49:46 +00:00 committed by GitHub
commit 69455add5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ sensor:
## {% linkable_title Updating sensors on-demand using Automation %}
You can also use the `homeassistant.update` service to update the sensor on-demand. For example, if you want to update `sensor.morning_commute` every 2 minutes on weekday mornings, you can use the following automation:
You can also use the `homeassistant.update_entity` service to update the sensor on-demand. For example, if you want to update `sensor.morning_commute` every 2 minutes on weekday mornings, you can use the following automation:
```yaml
- id: update_morning_commute_sensor