Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LevelBody for blinds not working as expected #44

Closed
braindead1 opened this issue Aug 30, 2020 · 11 comments
Closed

LevelBody for blinds not working as expected #44

braindead1 opened this issue Aug 30, 2020 · 11 comments
Assignees
Labels
bug 🐛 Something isn't working

Comments

@braindead1
Copy link

braindead1 commented Aug 30, 2020

I have to differentiate my initial comment that the LevelBody is not working at all:

  • The LevelBody is working for dimmable lights as described and expected.
  • The LevelBody is not working for blinds.

There is no error in the console.

@Zefau Zefau self-assigned this Aug 30, 2020
@Zefau Zefau added the bug 🐛 Something isn't working label Aug 30, 2020
@Zefau Zefau added this to the ROADMAP v1.0.0 milestone Aug 30, 2020
@Zefau
Copy link
Owner

Zefau commented Aug 30, 2020

What type of object is it? Number or String ?

EDIT: Furthermore, what adapter is used for the lights and the blinds ?

@braindead1
Copy link
Author

Both, blinds and lights, are aliases generated with the Alias Adapter. All my blinds are HomeMatic and my lights are HomeMatic IP.

Following is the definition of the SET object of one of my blinds:

{
  "_id": "alias.0.Büro_Rolladen.SET",
  "common": {
    "name": "SET",
    "role": "level.blind",
    "type": "number",
    "read": true,
    "write": true,
    "alias": {
      "id": "hm-rpc.1.XXXXXXXXXX.1.LEVEL"
    },
    "smartName": {
      "de": "Büro Rolladen"
    }
  },
  "native": {},
  "type": "state",
  "from": "system.adapter.admin.0",
  "user": "system.user.admin",
  "ts": 1594146679102,
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  }
}

Following is the definition of the SET object of one of my dimmable lights:

{
  "_id": "alias.0.Büro_Deckenleuchte.SET",
  "common": {
    "name": "SET",
    "role": "level.dimmer",
    "type": "number",
    "read": true,
    "write": true,
    "alias": {
      "id": "hm-rpc.2.XXXXXXXXXXXXXX.4.LEVEL"
    },
    "smartName": {
      "de": "Büro Deckenleuchte, Büro Licht",
      "smartType": "LIGHT",
      "byON": "40"
    }
  },
  "native": {},
  "type": "state",
  "from": "system.adapter.admin.0",
  "user": "system.user.admin",
  "ts": 1594146634727,
  "acl": {
    "object": 1636,
    "state": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator"
  }
}

@Zefau
Copy link
Owner

Zefau commented Sep 4, 2020

What does The LevelBody is not working for blinds. specifically means? Is the component showing and you are able to set a value, but the value is not applied? Or won't the component show up at all?

@braindead1
Copy link
Author

braindead1 commented Sep 5, 2020

My understandig is that LevelBody enables a slider for the state level in the pop-up, which is not working.

image

image

EDIT: I wrote this comment before installing v1.0.0-beta.9. In this version the slider is shown on the widget, but as before not in the pop-up. For lights, the slider in shown on the widget and in the pop-up.

Another issue that is related: I entered "Level" as label for the level State to change it's name in the pop-up. This is working well. But with the latest version "Label" is used as device name on the widget, which does not make sense.

image

@Zefau
Copy link
Owner

Zefau commented Sep 5, 2020

No, the configuration only applies on the widget, not the popup. Though, the popup is not working.

@Zefau
Copy link
Owner

Zefau commented Sep 5, 2020

Should be fixed with v1.0.0-beta.10 (incl. the label within widget vs. pop-up).

@Zefau
Copy link
Owner

Zefau commented Sep 5, 2020

Furthermore, see #40

@braindead1
Copy link
Author

Label and slider in pop-up are working in v1.0.0-beta.10.

I just noticed that using the LevelBody slider opens the pop-up for blinds and lights. This should be my last finding. :-)

@Zefau
Copy link
Owner

Zefau commented Sep 5, 2020

Should be resolved with 1.0.0-beta.11.

@braindead1
Copy link
Author

Fixed in v1.0.0-beta.11

@Zefau
Copy link
Owner

Zefau commented Sep 7, 2020

e40aa01

@Zefau Zefau added release and removed verify-fix labels Sep 12, 2020
@Zefau Zefau removed this from the ROADMAP v1.0.0 milestone Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants