Get the polling state of a sensor from a template (#159900)

This commit is contained in:
Etienne C.
2026-01-08 12:03:45 +01:00
committed by GitHub
parent 7a696935ed
commit 43ced677e5
2 changed files with 9 additions and 1 deletions
+1
View File
@@ -1721,6 +1721,7 @@ async def test_config_entry_attr(hass: HomeAssistant) -> None:
"title": "mock title",
"source": config_entries.SOURCE_BLUETOOTH,
"disabled_by": config_entries.ConfigEntryDisabler.USER,
"pref_disable_polling": True,
}
config_entry = MockConfigEntry(**info)
config_entry.add_to_hass(hass)