From 81a93f17d266a1bbc75826116f29dda5cfb5e99f Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 23 Mar 2024 20:41:37 -0400 Subject: [PATCH] Indicate that get_response_ok result is immutable. --- tests/mock/panel.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/mock/panel.py b/tests/mock/panel.py index d10e70a..8fa5845 100644 --- a/tests/mock/panel.py +++ b/tests/mock/panel.py @@ -1,9 +1,12 @@ """Mock Abode Panel Response.""" +from collections.abc import Mapping +from typing import Any + def get_response_ok( mode='standby', battery=False, is_cellular=False, mac='00:11:22:33:44:55' -): +) -> Mapping[str, Any]: """Return panel response json.""" return dict( version='ABGW 0.0.2.17F ABGW-L1-XA36J 3.1.2.6.1 Z-Wave 3.95',