homeassistant-microsoft-todo icon indicating copy to clipboard operation
homeassistant-microsoft-todo copied to clipboard

Installation with HACS custom repository way leads to a Platform error calendar.microsoft_todo - No module named 'emoji' 18:09:19 – Hass.io (ERROR) after reboot of HASS

Open Grui opened this issue 4 years ago • 2 comments

Hello,

Installation with HACS custom repository way leads to a Platform error calendar.microsoft_todo - No module named 'emoji' 18:09:19 – Hass.io (ERROR) after reboot of HASS

( ERROR )
Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:269
Integration: Hass.io (documentation, issues)
First occurred: 18:09:19 (1 occurrences)
Last logged: 18:09:19

Platform error calendar.microsoft_todo - No module named 'emoji'

Home Assistant 0.107.7 System HassOS 3.12 Deployment production

image

image

Grui avatar Apr 01 '20 16:04 Grui

Sorry for the delay in replying. Let me check.

Could you clarify is it a new installation or you're updating the plugin? Have you tried to restart Home Assistant from the console? Usually, Home Assistant installs required dependencies during startup.

black-roland avatar Apr 07 '20 11:04 black-roland

Hi,

Actually, we need to reboot first Home Assistant after the component installation prior to write following config in configuration.yaml

 calendar:
  - platform: microsoft_todo
    client_id: 
    secret_client: 

By doing so, there is no longer dependency issue. So we need to restart twice : prior and after having update the configuration.yaml file. By doing so, HA is allowing us to restart from the website instead of blocking due to dependency issue in the configuration.yaml file.

Configuration For HASS OS and HACS user, please reboot prior to update the configuration.yaml file and after having updated it. Add the following section to your configuration.yaml file:

calendar:

  • platform: microsoft_todo client_id: YOUR_CLIENT_ID client_secret: YOUR_CLIENT_SECRET Restart Home Assistant and finalize authorization through UI. There should be a new configuration request in notifications.

Grui avatar Apr 07 '20 17:04 Grui