Kane610/deconz

Fyrtur blind state

Closed this issue · 7 comments

Hi,

I have a fyrtur blind in deconz. It works fine, except whenever it's not 100% open the state reads as closed. I think it should be the other way around i.e the state should be open if the blind is not 100% closed.

Certainly that's how this card https://github.com/thomasloven/lovelace-slider-entity-row expects it to be.

I'm using home assistant 0.100.1 and deconz 2.05.69.

thanks

Thanks for reporting!

I'm waiting for 2.05.70 before I will add my blinds to DECONZ. When I've done that I'll have a look at this

smashing, thanks

Annother thing is that due to how it is currently implemented controlling the blind through a on-network steering device or the buttons on the blind itself will not update the state of the blinds in home assistant, dispite the position being updated internally in deconz.

Also, this issue is tangentially related as it affect the reporting of state where state information coming in on the websocket that isn't brightness is not updating the internal state of the device in home assistant, this is most evident when controlling the light through the light.turn_on service https://gfycat.com/madhardtofindhyrax although this only affects devices as it is fine when controlling groups

Apologies, there appears to be some weirdness on my end here, for no reason whatsoever after 24 hrs of uptime the data that wasn't being reported now is, I'm kind of confused now, but this seems like a configuration issue on my end

for anyone passing by with the same issue - I've been using a template cover as a workaround. cover.kitchen_blind is the original blind entity from deconz.

This works fine and gives me full control over the position with voice commands (google home) and the gui, I use slider-entity-row.

cover:
  - platform: template
      template_kitchen_blind:
        friendly_name: "Kitchen Blind"
        open_cover:
          service: cover.open_cover
          data:
            entity_id: cover.kitchen_blind
        close_cover:
          service: cover.close_cover
          data:
            entity_id: cover.kitchen_blind
        set_cover_position:
          service: cover.set_cover_position
          data_template:
            entity_id: cover.kitchen_blind
            position: "{{ position }}"

        position_template: "{{ state_attr('cover.kitchen_blind', 'current_position') }}"

Hi! Isnt this more correct? :)

cover:
  - platform: template
    covers:
      template_kitchen_blind:
        friendly_name: "Kitchen Blind"
        open_cover:
          service: cover.open_cover
          data:
            entity_id: cover.kitchen_blind
        close_cover:
          service: cover.close_cover
          data:
            entity_id: cover.kitchen_blind
        set_cover_position:
          service: cover.set_cover_position
          data_template:
            entity_id: cover.kitchen_blind
            position: "{{ position }}"
            position_template: "{{ state_attr('cover.kitchen_blind', 'current_position') }}"```

Hi, no it isn't.

Check the docs, position_template should be at the same level as set_cover_position etc. admittedly, the blank line is not required.

Anyhow, what I posted works for me.

I think this can be closed, it all works as expect nowadays