From 1b26c97d71b91778b74482d8f6240c3e23dbb2be Mon Sep 17 00:00:00 2001 From: Malene Trab Date: Wed, 18 Nov 2026 18:59:07 +0000 Subject: [PATCH] Add config entry options to sensor test fixture --- tests/test_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_sensor.py b/tests/test_sensor.py index 70b63f5..bf106fa 100644 --- a/tests/test_sensor.py +++ b/tests/test_sensor.py @@ -85,7 +85,7 @@ def async_add_listener(self, update_callback): def _entry(data: dict[str, str], entry_id: str = "entry-1") -> SimpleNamespace: """Create a config entry stub.""" - return SimpleNamespace(data=data, entry_id=entry_id) + return SimpleNamespace(data=data, options={}, entry_id=entry_id) def test_current_activity_sensor_native_value() -> None: