Add first batch of Ruff PT rules (#113665)
* Add first batch of Ruff PT rules * fix weather test * Fix pilight test * Update test_intent.py * Update pilight test_init.py * Update test_init.py
This commit is contained in:
parent
8f33bad4ef
commit
727581eea3
19 changed files with 60 additions and 102 deletions
|
@ -105,20 +105,6 @@ async def test_missing_optional_config(hass: HomeAssistant, start_ha) -> None:
|
|||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
DOMAIN: {
|
||||
"platform": "template",
|
||||
"fans": {
|
||||
"platform": "template",
|
||||
"fans": {
|
||||
"test_fan": {
|
||||
"value_template": "{{ 'on' }}",
|
||||
"turn_on": {"service": "script.fan_on"},
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
],
|
||||
)
|
||||
async def test_wrong_template_config(hass: HomeAssistant, start_ha) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue