Hi 👋 and thanks for maintaining this integration.
I'm facing a problem where my MotionBlinds-controlled curtain (connected through the Connector+ app and ESP-based motor) doesn't appear in Home Assistant as a cover entity.
Instead, I receive the following errors in the log:
💥 Problem Summary
limit_status codes '3' and '4' are logged as unknown.
The cover entity is not created.
A TypeError is raised because self._blind.position is returned as a string.
🧾 System Information
Home Assistant Version: 2024.7.2 (latest as of July 2, 2025)
Installation Type: Home Assistant OS (Raspberry Pi 4)
MotionBlinds Integration: Default built-in integration
Device MAC: c8:c9:a3:21:8b:29
Device Connection: Wi-Fi (no bridge, direct integration via Connector+)
Device with mac 'c8c9a3218b29' has limit_status '3' that is not yet known, please submit an issue to github.com/starkillerOG/motion-blinds
Device with mac 'c8c9a3218b29' has limit_status '4' that is not yet known, please submit an issue to github.com/starkillerOG/motion-blinds
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 347, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 558, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 331, in async_added_to_hass
await self.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 785, in async_update_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 758, in _stringify_state
state = self.state
File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 249, in state
current = self.current_cover_position
File "/usr/src/homeassistant/homeassistant/components/motion_blinds/cover.py", line 201, in current_cover_position
return 100 - self._blind.position
TypeError: unsupported operand type(s) for -: 'int' and 'str'
Additional Notes
The curtain device is listed as a device_tracker in Home Assistant but no cover.xxx entity is created.
This is a first-time setup, using auto-discovery with the correct API key and IP.
Blinds work fine from the Connector+ mobile app.
Position values appear to be returned as strings (e.g. "50"), causing the crash.
The device likely uses a newer firmware or model not yet supported by the library.
Hi 👋 and thanks for maintaining this integration.
I'm facing a problem where my MotionBlinds-controlled curtain (connected through the Connector+ app and ESP-based motor) doesn't appear in Home Assistant as a cover entity.
Instead, I receive the following errors in the log:
💥 Problem Summary
🧾 System Information
Device with mac 'c8c9a3218b29' has limit_status '3' that is not yet known, please submit an issue to github.com/starkillerOG/motion-blinds
Device with mac 'c8c9a3218b29' has limit_status '4' that is not yet known, please submit an issue to github.com/starkillerOG/motion-blinds
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 347, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 558, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 331, in async_added_to_hass
await self.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 785, in async_update_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 758, in _stringify_state
state = self.state
File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 249, in state
current = self.current_cover_position
File "/usr/src/homeassistant/homeassistant/components/motion_blinds/cover.py", line 201, in current_cover_position
return 100 - self._blind.position
TypeError: unsupported operand type(s) for -: 'int' and 'str'
Additional Notes