mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix rest sensors with resource templates (#42818)
This commit is contained in:
@@ -102,7 +102,7 @@ async def test_setup_minimum_resource_template(hass):
|
||||
{
|
||||
"sensor": {
|
||||
"platform": "rest",
|
||||
"resource_template": "http://localhost",
|
||||
"resource_template": "{% set url = 'http://localhost' %}{{ url }}",
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user