Git Product home page Git Product logo

home_assistant_neosmartblinds's People

Contributors

4n0nd3v3l0p3r avatar clara-j avatar davithkby avatar gee-jay-bee avatar jbdenton avatar jturnbull avatar mtgeekman avatar troywsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

home_assistant_neosmartblinds's Issues

Feature Request - Working with the HomeKit Integration

I have a feature enhancement suggestion (and proposed implementation method with nodejs code example) to better support bridging shades controlled by this plugin to iOS Home.

The issue:
I'm using this plugin to control shades with the "bf" motor type, which does not support an absolute position. In the HomeSeer interface, I can see both a positional slider interface to control the shades (i.e., position mode), as well as up / down button controls (button mode). If I use the positional mode sliders, they do nothing, but if I use the up/down buttons, all works as expected.

I'd like to be able to export these shades from HomeSeer to iOS Home using HomeSeer's built-in HomeKit Bridge integration. The problem is that the HomeKit environment only supports shades allowing positional control, so it currently can't be done.

Proposed Solution
Before I was using HomeAssistant, I used Hubitat and had a similar issue. For Hubitat, I wrote a homebridge plugin that solved this in a simple way. Instead of having a "do nothing" positional slider, the slider code was set to have 3 positions (you could slide to anywhere in iOS home, but only 3 positions had a real meaning). Normally, the slider is at 50% and this is what you see in iOS Home. I chose this because with the "bf" motor type, you can't really tell where the shade really is, so 50% allows the iOS Home user to either slide to open or slide to close. If the user then slides the slider up to 100%, this triggers an open and the slider stays in the 100% position for a few seconds, but then reverts back to 50%. Similarly, if you slide down to 0% the slide closes, but the positional indicator goes back to 50% after a bit. If you slide to anything but 0 or 100%, the positional indictor returns to 50% with nothing happening..

Here's the code that I used for Homebridge and the Hubitat environment: https://github.com/jvmahon/homebridge-smartshades

If you look in the index.js file, at lines 118-153 you can see the implementation. The "on('set'..." at line 119 gets called when the iOS user moves the shade position slider. If the position goes to 0 (close), the case at line 121 is called, and the shade gets commanded to close (line 122). The position slider will then be shown at 0% in iOS, but a timeout is then set (line 123-126) that returns the iOS position indicator to 50% after a 25 second delay (line 126).

Opening the shade is similar (see lines 138-145).

Could some similar logic be added to his integration so that HomeAssistant's interface's positional slider becomes functional and, thus, allows its export to HomeKit via the HomeKit integration? I'd try adding it myself, but I'm relatively new to HomeAssistant and don't (yet) know Python or the device model well enough to program it.

Thanks for considering this.

K2 motor not working

Hi, I am having issues getting the integration to work with some blinds that have a "K2" motor code. It works with other blinds in my setup that have motor code "BF". Both motor types work in the neosmartblinds app. I have tried resetting the controller and deleting the files from HA and its still not working with the "K2" motors. I don't get any error codes in my log when trying to move the "K2" blinds up or down. Also I believe there is communication between the hub and HA because when I try to move the "K2" motors up or down, one of my fans (which is also RF) turns on/off. But the signal sent doesn't control my blinds. Any help would be appreciated.

Rail problems in mixed rooms...

I had this problem with the original neosmartblinds app, and they managed to fix it, so I'm hoping to get a similar fix here.

Background: a room has a mixture of top-down/bottom-up blinds and normal bottom-up blinds. If I want the room to "act" like a bottom-up only, I need rail 1 on the bottom-up blinds to go up and down, and rail 2 on the top-down/bottom-up blinds to do the same thing (rail 2 is the bottom rail on these units).

Behavior: If I set rail: 1 for a room with mixed blinds, then the top-down/bottom up blinds will open from top to bottom, and the bottom-up will open normally. If I set rail: 2, then ONLY the top-down/bottom-up blinds will open, since the bottom-up blinds don't have a rail 2.

Expected behavior: "rail" should only be used for top-down/bottom-up, but for bottom-up blinds rail is auto-set to 1.

Connection Reset by Peer

I’m unable to control my blinds after a reboot (no upgrades) and the errors I’m receiving are:

This error originated from a custom integration.

Logger: custom_components.neosmartblinds.neo_smart_blind
Source: custom_components/neosmartblinds/neo_smart_blind.py:119 
Integration: neosmartblinds (documentation) 
First occurred: July 8, 2022, 10:02:52 AM (20 occurrences) 
Last logged: 8:47:32 AM

[Errno 104] Connection reset by peer 
This error originated from a custom integration.

Logger: custom_components.neosmartblinds.neo_smart_blind
Source: custom_components/neosmartblinds/neo_smart_blind.py:118 
Integration: neosmartblinds (documentation) 
First occurred: July 8, 2022, 10:02:52 AM (20 occurrences) 
Last logged: 8:47:32 AM

URL: http://192.168.40.252:8838/neo/v1/transmit 
This error originated from a custom integration.

Logger: custom_components.neosmartblinds.neo_smart_blind
Source: custom_components/neosmartblinds/neo_smart_blind.py:117 
Integration: neosmartblinds (documentation) 
First occurred: July 8, 2022, 10:02:52 AM (20 occurrences) 
Last logged: 8:47:32 AM

Parameters: {'id': 'ID_STUFF-xtDrkHw', 'command': '209.169-15-gp', 'hash': '0488248'}
Parameters: {'id': 'ID_STUFF-xtDrkHw', 'command': '209.169-15-gp', 'hash': '0680512'}
Parameters: {'id': 'ID_STUFF-xtDrkHw', 'command': '209.169-15-up', 'hash': '0311099'}
Parameters: {'id': 'ID_STUFF-xtDrkHw', 'command': '239.005-15-sp', 'hash': '0686686'}
Parameters: {'id': 'ID_STUFF-xtDrkHw', 'command': '239.005-15-sp', 'hash': '0353865'}

*Changed mildly to protect data

Core-2022.6.7
Python 3.9.12
HAOS 8.2
HACS 1.25.5

any ideas?

Favorite position

First of all, thanks for maintaining this. I've setup some blinds using this, and I can open and close them fine.

The only thing I'm trying to understand is how to trigger the favorite position using the lovelace UI. Maybe you can help me with that ? Thanks.

issues after update to core today

after the latest update i'm getting the following error - any advice?

Last logged: 2:40:48 PM

012.037-01, disconnected from hub: ConnectionResetError(104, 'Connection reset by peer')
Parameters: {'id': 'qui-i0c_WleIACyHRXKSMQ-', 'command': '012.037-00-dn!wt', 'hash': '0696859'}
URL: http://192.168.86.110:8838/neo/v1/transmit
[Errno 104] Connection reset by peer
012.037-00, disconnected from hub: ClientOSError(104, 'Connection reset by peer')

Requset: Add to HACS

Hey!
thanks so much for all you do on this!
any chance it can be added to HACS, to make it even easier please?

Unable to Install from HACS

When downloaded, this will be located in '/config/custom_components/neosmartblinds'
Remember that you need to restart Home Assistant before changes to integrations (custom_components) are applied.

Unknown error

When trying to download. Any ideas on how to fix?

new to neo smart blinds

hello i have 9 neo smart blinds that just gotten installed. can anyone help me confgure this to work with home assistant :)

Feature Request: Ability to Detect Blind Position

Is it possible to detect the blind's position?

Often one of the four blinds in our home doesn't respond to the first time we send a command. I'd like to be able to resend the command if the blind is not in the correct position.

Additionally, if somebody uses the RF remote then Home Assistant has the wrong position in COVER.

HACS Implementation add an extra sub-folder

Hi,
When I install via HACS, the component is not loading. I suspect that when I load the custom component via HACS, it is being installed in config/custom_components/neosmartblinds/neosmartblinds.

I suspect the issue is that there's one extra sub folder that needs to be removed. So it should go into;
config/custom_components/neosmartblinds

I've verified that the issue is fixed when I manually shift the files to this correct location.

Thx
JP

Proposed change to favourites

I was thinking of changing the favourite settings from 50/51 on the position slider to the tilt slider.

Here are the reasons for the changes.

  • Once the support for percentage is added there is a conflict where you can not set the requested position to these two values using the slider as they take precedent.
  • Currently the neoblinds do not work if you try to expose them through the HomeKit integration. This is due to tilt positioning not currently being enabled.

So by enabling tilt positioning and moving the favourite to that resolves both of these issues. I have tested HomeKit locally and it seems to be working so far. But haven't done work for the tilt and favourites yet.

Any issues with this approach, I know this is a breaking change for people that currently have a setup with favourites based on the 50/51 positioning, so open to other thoughts.

Incompatible with HA 2022.7

Hi since updating to HA 2022.7 Neosmartblinds integration has stopped working.

The error msg I get is

Platform error cover.neosmartblinds - Requirements for neosmartblinds not found: ['requests==2.27.1'].

This may be due to 2022.7 update to Python 3.10.

HA buttons grey out ability to raise or lower when HA thinks the blinds are up/down.

I have blinds that do not report their position back to HA. After you press Up in HA, the UP button is greyed out.
So, if you hit down from the RF remote that came with the blinds, you are are not not able to raise the blinds from HA.
Is there any way to fix this so that HA does not try and assume position? or is there a way to actually get the accurate position back from the blinds?

This also creates complication with groups of blinds and then the individual blinds.

Add support for any % position

@mtgeekman @clara-j
One of the compatible motor brands with Neo Smart Controller actually supports the use of specific positions.

The motor brand is our home brand NEO motors. And it's the same that supports the second favourite position.
Here is how to tell if you have a NEO motor:
1 - Go to your motor advanced page.
2 - Check the "motor code" for your motor at the end of the page. You have a NEO motor if the code is "no"
3 - Test if your NEO motor works with the % position by enabling the toggle "% position" and testing your blind to see if the % position commands work.
4 - If you don't see the % position toggle. Change your account's setup code to "NEOV1".

The command code to use the % position is the desired % position. Open and close still the required way to open and close completely the blinds. Here are the examples for the command codes:
0% => CMD_UP = "up"
100% => CMD_DOWN = "dn"
any other XX% => "xx" (in decimal and must be 2 chars), from "01" to "99"

image
image
image

Rail "3" for Top-Down,Bottom-Up Blinds?

I'm finally getting back into investigating neo smart blind usage for my setup -- one thing that appears to be missing is the ability to push BOTH rails on a TD/BU blind together (in the remote, it is usually listed as rail "3" which just means rail 1 and 2 at the same time). Is there some way to add this feature?

[Question] Has there been verification of top down bottom up blinds working?

Related to: #3

First off I just want to say I'm sorry for opening an issue when this is not entirely related to your project, it's more related to the implementation you have and abstracting it out for another use that I have. So feel free to close if you don't have time to discuss here :)

I have top down bottom up blinds and have been trying to get them to respond via the REST API for the neo smart blinds hub. Commands do work but I am unable to get the channel 3 commands working (both rails up, or both rails down). All of the commands that should reference channel 2 or 3 respond the same as the main command. In other words:

up === u2 === u3
dn === d2 === d3

I use HomeSeer (Home Assistant either didn't support Z-wave+ at the time or didn't exist at all when I started on my HA setup) and they don't have an integration with NeoSmart blinds, but I might be willing to set this up with Home Assistant if it's something that works.

I understand you don't personally have access to top-down bottom-up blinds, so just curious if people have reported the changes in https://github.com/mtgeekman/Home_Assistant_NeoSmartBlinds/releases/tag/1.3 working. For example I would expect:

http://<IP>:8838/neo/v1/transmit?command=<ID1>.<ID2>-<CH>-u3tb&id=<CONTROLLER_ID>&hash=3893794

To bring both rails to the top position. Instead it just brings rail 1 to to the top position .

As an additional note, my motor code is tb so I believe I am crafting the URL the same as you are in your code. The commands perform the same whether the motor code is present or not.

DRYer configurations possible?

First off, thanks for this project. I recently started with Home Assistant and I'm not sure what I would have done if your project didn't exist.

We have 14 blinds in our house with a single controller. Rather than repeat the same settings for every blind, is there any way to optimize the configuration so you can specify the controller config separately from the blinds? Or even reference the controller for each blind?

I tried using YAML anchors like this:

common: &common
  platform: neosmartblinds
  host: 10.0.0.127
  hub_id: xxx
  protocol: http
  port: 8838
  rail: 1
  percent_support: 1
  close_time: 30
  motor_code: no

cover:
  - <<: *common
    name: Office
    blind_code: 064-112-15
  - <<: *common
    name: Great Room
    blind_code: 064-117-15
  - # etc

but the config is invalid because top-level names (like common in my example) are reserved for integrations. So maybe that's the key, to change the schema to allow anchors to be declared someplace, but then you would almost certainly lose the tight schema checking which could cause non-technical folk big pain 🤔

In the end it's not a big deal to copy/pasta the settings 14 times, it's just not too elegant, so if there's a way to avoid it I'd love to hear about it.

Deprecated constants will be removed In HA Core 2025.1.

The following messages are written to the system log following HA Core 2024.1.0 upgrade.

Logger: homeassistant.components.cover
Source: helpers/deprecation.py:204
Integration: Cover (documentation, issues)
First occurred: 8:00:44 PM (14 occurrences)
Last logged: 8:00:44 PM

SUPPORT_STOP was used from neosmartblinds, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please create a bug report at https://github.com/mtgeekman/Home_Assistant_NeoSmartBlinds/issues
SUPPORT_SET_POSITION was used from neosmartblinds, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at https://github.com/mtgeekman/Home_Assistant_NeoSmartBlinds/issues
SUPPORT_OPEN_TILT was used from neosmartblinds, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN_TILT instead, please create a bug report at https://github.com/mtgeekman/Home_Assistant_NeoSmartBlinds/issues
SUPPORT_CLOSE_TILT was used from neosmartblinds, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE_TILT instead, please create a bug report at https://github.com/mtgeekman/Home_Assistant_NeoSmartBlinds/issues
SUPPORT_SET_TILT_POSITION was used from neosmartblinds, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_TILT_POSITION instead, please create a bug report at https://github.com/mtgeekman/Home_Assistant_NeoSmartBlinds/issues

Support favorites?

It seems like the favorites in this integration are based on time-to-close, but the blinds themselves have a built-in favorite setting that isn't based on a time-to-close. Is there any way to support neosmartblind's built-in favorites?

Platform error cover.neosmartblinds - Integration 'neosmartblinds' not found.

Hi there,
After a recent HA update I experienced the issue with " Platform error cover.neosmartblinds - Requirements for neosmartblinds not found: ['requests==2.27.1']. "

I had followed the recommendation in issue #28 but after uninstall through HACS and manually placing the config/custom_components/ directory I am now receiving error "Platform error cover.neosmartblinds - Integration 'neosmartblinds' not found."

Have done a HA restart, have tried to install it via HACS again and still no luck unfortunately.

Any ideas?
Cheers,
Kyle

Integration 'neosmartblinds' not found.

I persistently get this error in HA. I hoped the latest release would help, but no joy. I can find nothing to reference this anywhere else.

Installed through HACS

Full error: Platform error cover.neosmartblinds - Integration 'neosmartblinds' not found.

configuration.yaml entry:

cover:

  • platform: neosmartblinds
    name: Living Room Blind
    host: 192.168.86.37
    hub_id: TUkrCvA1VK6c95R2j6SwfQ
    protocol: http
    port: 8838
    blind_code: 083.242-01
    close_time: 30
    rail: 1
    percent_support: 2
    motor_code: k2
    start_position: 50

No longer working.

No configurations have changed but this stopped working yesterday and hasn't worked since. Restarted and still not working.

Parameters: {'id': 'RG7MCfgXWCqacbsEtIal1g', 'command': '183.159-01-i2!bf', 'hash': '0381191'}
URL: http://192.168.7.4:8838/neo/v1/transmit
[Errno 104] Connection reset by peer

URL: http://192.168.7.4:8838/neo/v1/transmit
[Errno 104] Connection reset by peer
Parameters: {'id': 'RG7MCfgXWCqacbsEtIal1g', 'command': '183.159-15-up!bf', 'hash': '0027510'}
Parameters: {'id': 'RG7MCfgXWCqacbsEtIal1g', 'command': '183.159-15-up!bf', 'hash': '0675603'}
Parameters: {'id': 'RG7MCfgXWCqacbsEtIal1g', 'command': '183.159-15-up!bf', 'hash': '0928555'}

Version 2.2 & groups

Hi @mtgeekman thanks for all your work on this one.

I just had some clarification questions regarding your v2.2 comments.

Until now I've created three blinds for one room which has two blinds in it - Lounge Left Blind, Lounge Right Blind and Lounge Blind which uses the room code. Mostly use this room code based one.

In your comments, were you saying I should stop doing it this way, and instead use HA groups configuration for that room code based one? Please see my config below.

Thx
James

# COVERS
cover:
  - platform: neosmartblinds
    name: Lounge Left Blind
    host: xx.xx.xx.xx
    hub_id: xxxxxxxxxxxxxxxxxx
    protocol: tcp
    port: 8839
    blind_code: 030.117-01
    close_time: 21.47
    rail: 1
    percent_support: 2
    motor_code: wt
    # start_position: 50
  - platform: neosmartblinds
    name: Lounge Right Blind
    host: xx.xx.xx.xx
    hub_id: xxxxxxxxxxxxxxxxxx
    protocol: tcp
    port: 8839
    blind_code: 030.117-00
    close_time: 21.47
    rail: 1
    percent_support: 2
    motor_code: wt
    # start_position: 50
  - platform: neosmartblinds
    name: Lounge Blind
    host: xx.xx.xx.xx
    hub_id: xxxxxxxxxxxxxxxxxx
    protocol: tcp
    port: 8839
    blind_code: 030.117-15
    close_time: 21.47
    rail: 1
    percent_support: 2
    motor_code: wt
    # start_position: 50

2022.3.0 HA docker version breaks neosmartblinds (I think)

I'm running the HA docker on Unraid

Version | core-2022.3.0
Installation Type | Home Assistant Container
Development | false
Supervisor | false
Docker | true
User | root
Virtual Environment | false
Python Version | 3.9.7
Operating System Family | Linux
Operating System Version | 5.10.28-Unraid
CPU Architecture | x86_64
Timezone | Europe/London

In the HA logs yesterday, after a docker upgrade I saw

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2022-03-03 12:54:25 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package requests==2.24.0: ERROR: Cannot install requests==2.24.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2022-03-03 12:54:25 ERROR (MainThread) [homeassistant.config] Platform error: cover - Requirements for neosmartblinds not found: ['requests==2.24.0'].

I downgraded the HA docker version to 2022.2.0 and the blinds work again / no errors in the log. All was working fine before the docker upgrade and all OK now

Required key not provided @ data['hub_id']. Got None

Hi there,

I'm running Home Assistant 2021.6.3, as a supervised install (Home Assistant OS 5.13). I've installed this integration to control neosmartblinds over the static IP I have assigned to the neosmartblinds controller. My config is below:

  • platform: neosmartblinds
    name: All Kitchen Roller Blinds
    host: 192.168.8.43
    blind_code: 073.065-15
    close_time: 30
    hub_id: 23004e00025135xxxxxxxxxx
    protocol: http
    port: 8838
    rail: 1
    percent_support: 0
    motor_code: bf

On reboots I can see the following error reported. I'm fairly sure the integration does not like the characters included in the hubID key, but I've checked and this is the hubID my app is reporting on my iPhone.

Are you seeing similar errors?

No local access?

As of the weekend, I have lost control of my Neo Smart Blinds controller (wooden Luxaflux). I have a feeling that an update has been pushed which has closed off the local API access, or an API update has been pushed? I have a static IP assigned to the Neo Smart Controller. The Home Assistant server itself can happily ping the neo controller, but from the logs I can see that it cannot connect on TCP port 8838, using the path /neo/v1/transmit

Logger: custom_components.neosmartblinds.neo_smart_blind
Source: custom_components/neosmartblinds/neo_smart_blind.py:315
Integration: neosmartblinds (documentation, issues)
First occurred: 27 November 2022 at 18:49:11 (45 occurrences)
Last logged: 08:12:00

Parameters: {'id': '23004e000251353532373238', 'command': '073.065-02-up', 'hash': '0808264'}
URL: http://192.168.8.245:8838/neo/v1/transmit
Cannot connect to host 192.168.8.245:8838 ssl:default [Connect call failed ('192.168.8.245', 8838)]
Parameters: {'id': '23004e000251353532373238', 'command': '073.065-03-up', 'hash': '0343382'}
Parameters: {'id': '23004e000251353532373238', 'command': '073.065-15-up', 'hash': '0854171'}

I have reached out to Neo Tech Support to see if they have made any changes to their API structure, or their local access policies.

Support multiple configurations for the same blind

Hi, I have two top-down/bottom-up blinds. In home assistant I configured them as

- platform: neosmartblinds
  name: Blind one bottom rail
  host: 192.168.1.189
  hub_id: xxx
  protocol: http
  port: 8838
  blind_code: xxx-01
  close_time: 30
  rail: 2
  percent_support: 0
  motor_code: tb

- platform: neosmartblinds
  name: Blind one top rail
  host: 192.168.1.189
  hub_id: xxx
  protocol: http
  port: 8838
  blind_code: xxx-01
  close_time: 30
  rail: 1
  percent_support: 0
  motor_code: tb

- platform: neosmartblinds
  name: Blind two bottom rail
  host: 192.168.1.189
  hub_id: xxx
  protocol: http
  port: 8838
  blind_code: xxx-02
  close_time: 30
  rail: 2
  percent_support: 0
  motor_code: tb

- platform: neosmartblinds
  name: Blind two top rail
  host: 192.168.1.189
  hub_id: xxx
  protocol: http
  port: 8838
  blind_code: xxx-02
  close_time: 30
  rail: 1
  percent_support: 0
  motor_code: tb

I see 2 blind entities Blind one bottom rail, Blind two bottom rail, being created successfully. However top rail configuration (rail=1) is failing. Looks like it uses blind_code to create unique entities. Is it possible to change that, so that I could have multiple blind configurations for the same blind_code.

Here is the error msg from homeassistant

Platform neosmartblinds does not generate unique IDs. ID neosmartblinds.xxx-01 already exists - ignoring cover.blind_two_bottom_rail
Platform neosmartblinds does not generate unique IDs. ID neosmartblinds.xxx-02 already exists - ignoring cover.blind_three_bottom_rail

multiple blinds issue

Hi - first ever time on GitHub and using Home Assistant. Also don't do any coding at all so this is very new.
Managed to get the hub added, added a blind and it worked.
added the 2nd blind which shows up in the dashboard but both blinds in HA operate the same blind.
Can you let me know what i'm doing wrong here? changed the IP and HUB ID to paste here. Even if I change the order of the blind_code it still just controls the first blind that setup correctly.
cover:

  • platform: neosmartblinds
    name: Couch
    host: 192.168.86.X
    hub_id: qui-i0c_WleIACyHRXK
    protocol: http
    port: 8838
    blind_code: 177.121-01
    close_time: 14
    rail: 1
    percent_support: 1
    motor_code: wt
    start_position: 50
    parent_group: 177.121-15
  • platform: neosmartblinds
    name: Road
    host: 192.168.86.X
    hub_id: qui-i0c_WleIACyHRXK
    protocol: http
    port: 8838
    blind_code: 177.121-00
    close_time: 14
    rail: 1
    percent_support: 1
    motor_code: wt
    start_position: 50
    parent_group: 177.121-15

Does this support bottom-up/top-down blinds?

We have NeoSmartBlinds but some of them are the bottom-up/top-down (so are configured by the "rail" that moves, either the bottom, the top, or both at the same time). Does this work with that type?

Error while setting up on Home Assistant 2020.12.2

When trying to setup the Neo Smart Blinds custom integration the following error appears in my logs.

`Logger: homeassistant.components.cover
Source: custom_components/neosmartblinds/cover.py:98
Integration: Cover (documentation, issues)
First occurred: 8:33:43 PM (1 occurrences)
Last logged: 8:33:43 PM

Error while setting up neosmartblinds platform for cover
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/neosmartblinds/cover.py", line 67, in setup_platform
cover = NeoSmartBlindsCover(
File "/config/custom_components/neosmartblinds/cover.py", line 98, in init
self.hass.data[DATA_NEOSMARTBLINDS].append(self._client)
AttributeError: 'NoneType' object has no attribute 'data'`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.