Platform: workday

всем привет, ребята
подскажите пожалуйста как настроить сенсор “рабочая неделя”.
разными вариантами пытаюсь создать, система все время ругается.
пишу так:

# рабочая неделя
   - binary_sensor:
       - platform: workday
         country: RU

система пишет:
Invalid config for [sensor]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 34). Please check the docs at https://home-assistant.io/integrations/sensor/

читаю в других топиках, у людей работает вроде…
не пойму, в чем проблема

Please post your question in English. Otherwise it will be almost impossible to help you.

Anyway you need to remove the dash before binary_sensor, like this:

binary_sensor:
  - platform: workday
    country: RU