nielsfaber / scheduler-component

Custom component for HA that enables the creation of scheduler entities
GNU General Public License v3.0
675 stars 45 forks source link

Error while setting up scheduler platform for switch #376

Closed LeeWiu closed 2 months ago

LeeWiu commented 2 months ago

Hi, new scheduler v3.3.6 install and shows only Climate group. Scheduler card v3.2.13, HA v2024.9.1

Error in log: Logger: homeassistant.components.switch Source: helpers/entity_platform.py:361 integration: Switch (documentation, issues) First occurred: 22:02:30 (3 occurrences) Last logged: 22:06:17

Error while setting up scheduler platform for switch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/scheduler/switch.py", line 98, in async_setup_entry SERVICE_RUN_ACTION, RUN_ACTION_SCHEMA, "async_service_run_action" ^^^^^^^^^^^^^^^^^ NameError: name 'RUN_ACTION_SCHEMA' is not defined

Screenshot 2024-09-08 at 22 10 17
LeeWiu commented 2 months ago

Sorry, wrong place. Groups should be created/enabled in Scheduler Card https://github.com/nielsfaber/scheduler-card?tab=readme-ov-file#groups