RogerSelwyn / O365-HomeAssistant

Office 365 integration for Home Assistant
MIT License
195 stars 15 forks source link

Error in config after update #214

Closed jorgemarmor closed 6 months ago

jorgemarmor commented 6 months ago

After an update, it seems that my previously working config is not working. I haven't been able to find how to solve it.

I would appreciate any help.

This is what I get when checking the config file:

Component error: o365 - cannot import name 'ServiceValidationError' from 'homeassistant.exceptions' (/usr/src/homeassistant/homeassistant/exceptions.py)

RogerSelwyn commented 6 months ago

Please post the whole error, also what version of O365 you are using and what the previous version. Also what version of home Assistant you are using.

RogerSelwyn commented 6 months ago

It seems likely you are on a version of HA that is at least 4 months old since ServiceValidationError was added to HA about then. Your options are to upgrade HA to a newer version, or downgrade O365 integration to your last working version.

jorgemarmor commented 6 months ago

Yes, sorry, you're right. I thought my HA was updated, but it wasn't . Everything working now.

El dom, 10 mar 2024 a las 9:17, RogerSelwyn @.***>) escribió:

It seems likely you are on a version of HA that is at least 4 months old since ServiceValidationError was added to HA about then. Your options are to upgrade HA to a newer version, or downgrade O365 integration to your last working version.

— Reply to this email directly, view it on GitHub https://github.com/RogerSelwyn/O365-HomeAssistant/issues/214#issuecomment-1987140192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AINL4SND3XNEBZMJDPQNM6TYXQJIXAVCNFSM6AAAAABEOYUSXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGE2DAMJZGI . You are receiving this because you authored the thread.Message ID: @.***>