szymi- / hass_shutterbox

Homeassistant integration for shutterbox by blebox
MIT License
2 stars 2 forks source link

hass_shutterbox integration doesn't work with new version #2

Open ame3x opened 3 years ago

ame3x commented 3 years ago

2021-06-03 19:28:01 ERROR (MainThread) [homeassistant.config] Platform error: cover - Integration 'hass_shutterbox' not found. 2021-06-03 19:28:01 ERROR (MainThread) [homeassistant.config] Platform error: cover - Integration 'hass_shutterbox' not found. 2021-06-03 19:28:01 ERROR (MainThread) [homeassistant.config] Platform error: cover - Integration 'hass_shutterbox' not found. 2021-06-03 19:28:01 ERROR (MainThread) [homeassistant.config] Platform error: cover - Integration 'hass_shutterbox' not found. 2021-06-03 19:28:01 ERROR (MainThread) [homeassistant.config] Platform error: cover - Integration 'hass_shutterbox' not found. 2021-06-03 19:28:01 ERROR (MainThread) [homeassistant.config] Platform error: cover - Integration 'hass_shutterbox' not found.

[](https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes/#versions for more info)

ame3x commented 3 years ago

I was getting an error after I added version to manifest.json so I made some changes. Now it works, I don't know why it was working before, because in manifest.json domain is "blebox_shutterbox"

Error

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

File manifesf.json looks like below.

{ "domain": "blebox_shutterbox", "name": "Blebox Shutterbox", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/blebox_shutterbox", "requirements": [], "ssdp": [], "zeroconf": [], "homekit": {}, "dependencies": [], "version": "0.1.0", "codeowners": [ "@szymi-" ] }

I also had to change configuration.yaml OLD:

cover:

  • platform: hass_shutterbox host: 192.168.10.160 name: Dnevna_1 scan_interval: 15
  • platform: hass_shutterbox host: 192.168.10.167 name: Dnevna_2 scan_interval: 15

NEW

cover:

  • platform: blebox_shutterbox host: 192.168.10.160 name: Dnevna_1 scan_interval: 15
  • platform: blebox_shutterbox host: 192.168.10.167 name: Dnevna_2 scan_interval: 15