From 4523fbcfd74948727f9c92f7e5e367fdad4a17d7 Mon Sep 17 00:00:00 2001
From: RogerSelwyn <rogers@selwyn.org.uk>
Date: Mon, 12 Feb 2024 19:10:33 +0000
Subject: [PATCH] fix: Add missing CONFIG_SCHEMA

---
 custom_components/o365/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/custom_components/o365/__init__.py b/custom_components/o365/__init__.py
index 2fdbcbc..fb0afaf 100644
--- a/custom_components/o365/__init__.py
+++ b/custom_components/o365/__init__.py
@@ -3,6 +3,7 @@
 import json
 import logging
 
+import voluptuous as vol
 import yaml
 from homeassistant.const import CONF_ENABLED
 from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue
@@ -34,6 +35,7 @@
 from .schema import MULTI_ACCOUNT_SCHEMA
 from .setup import do_setup
 
+CONFIG_SCHEMA = vol.Schema({DOMAIN: MULTI_ACCOUNT_SCHEMA}, extra=vol.ALLOW_EXTRA)
 _LOGGER = logging.getLogger(__name__)