A live bird collage card for your Home Assistant dashboard.
Force readonly mode
Alexandrede57d009db7a
diff --git a/scripts/plotly_streamlit.py b/scripts/plotly_streamlit.pyindex 36d34925..b50b3c91 100755--- a/scripts/plotly_streamlit.py+++ b/scripts/plotly_streamlit.py@@ -54,7 +54,8 @@ st.markdown("""@st.cache_resource()def get_connection(path: str):- return sqlite3.connect(path, check_same_thread=False)+ uri = f"file:{path}?mode=ro&cache=shared"+ return sqlite3.connect(uri, uri=True, check_same_thread=False)def get_data(_conn: Connection):