tungmeister / hass-blind-card

Blind card for Home Assistant Lovelace UI
Apache License 2.0
32 stars 13 forks source link

Switchbot Blind Tilt is not supported #22

Open Nismonx opened 1 month ago

Nismonx commented 1 month ago

Getting an error when setting up switchbot blind with the Blind Card.

Used the following configuration:

type: custom:blind-card
title: Side Window Blinds
entities:
  - entity: cover.blind_tilt_9e35
    name: Vertival Blinds
    buttons_position: left
    title_position: bottom
    blind_color: '#5c695e'

When operating the blind, it returns the following error:

Failed to call service cover/close_cover. Entity cover.blind_tilt_9e35 does not support this service

Screenshot: Screenshot_20240531_211447_Home Assistant

HA log:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:239
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 21:01:21 (17 occurrences)
Last logged: 21:28:42

[139836439257536] Unexpected exception
[139835885552448] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 957, in entity_service_call
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Entity cover.blind_tilt_9e35 does not support this service.

On the bright side, zemismart wifi cover is working great.