mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Use modern platform path when reporting platform config errors (#104238)
* Use modern platform path when reporting platform config errors * Update tests * Address review comment * Explicitly pass platform domain to log helpers * Revert overly complicated changes * Try a simpler solution
This commit is contained in:
@@ -78,7 +78,10 @@ def test_config_platform_valid(
|
||||
(
|
||||
BASE_CONFIG + "light:\n platform: beer",
|
||||
{"homeassistant", "light"},
|
||||
"Platform error light.beer - Integration 'beer' not found.",
|
||||
(
|
||||
"Platform error 'light' from integration 'beer' - "
|
||||
"Integration 'beer' not found."
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user