home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.

Home Page:https://www.home-assistant.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bond Integration Shade Set Cover Position Not Working

jman731 opened this issue · comments

The problem

I have a Bond Bridge Pro device with several different window shades. I am able to set the position of these shades directly in the Bond app. However, when integrate them with Home Assistant, I am not able to set the position or see the current position. I can run the set_cover_position service, but nothing happens.

What version of Home Assistant Core has the issue?

2022.5.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Bond

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bond/

Diagnostics information

config_entry-bond-ff031868539fcbf757eb1edf7d445062.json.txt

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.5.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.9",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/Los_Angeles",
    "os_name": "Linux",
    "os_version": "5.15.41",
    "supervisor": "2022.05.2",
    "host_os": "Home Assistant OS 8.1",
    "docker_version": "20.10.14",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.25.0",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "snoo": {
      "version": "0.0.1",
      "requirements": [
        "pysnooapi>=0.0.2",
        "pytz==2021.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "bond",
    "name": "Bond",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/bond",
    "requirements": [
      "bond-api==0.1.16"
    ],
    "zeroconf": [
      "_bond._tcp.local."
    ],
    "codeowners": [
      "@bdraco",
      "@prystupa",
      "@joshs85"
    ],
    "quality_scale": "platinum",
    "iot_class": "local_push",
    "loggers": [
      "bond_api"
    ],
    "is_built_in": true
  },
  "data": {
    "entry": {
      "title": "My Bridge Pro",
      "data": {
        "access_token": "**REDACTED**",
        "host": "192.168.1.8"
      }
    },
    "hub": {
      "version": {
        "target": "zermatt-pro",
        "fw_ver": "v2.29.12",
        "fw_date": "Thu Feb 24 20:25:19 UTC 2022",
        "uptime_s": 76790,
        "make": "Olibra",
        "model": "BD-1750-PRO",
        "branding_profile": "OLIBRA_BD1750PRO",
        "bondid": "ZPEK71462",
        "upgrade_http": true,
        "api": 2,
        "_": "732b454d"
      }
    },
    "devices": [
      {
        "device_id": "69e31f3e",
        "props": {
          "addr": "11101010100110110001000110110001100100001000",
          "freq": 433930,
          "zero_gap": 60,
          "bps": 2501,
          "max_speed": 3,
          "_": "265c7f47"
        },
        "attrs": {
          "name": "Dining Room Fan",
          "type": "CF",
          "location": "Dining Room",
          "template": "C2",
          "actions": [
            "SetSpeed",
            "TurnOff",
            "Stop",
            "TogglePower",
            "TurnOn",
            "IncreaseSpeed",
            "DecreaseSpeed"
          ],
          "_": "7216614b",
          "commands": {
            "_": "bd0ac2d1"
          },
          "state": {
            "_": "522bbd51"
          },
          "properties": {
            "_": "265c7f47"
          },
          "skeds": {
            "_": "e8a374b8"
          }
        },
        "supported_actions": [
          "SetSpeed",
          "DecreaseSpeed",
          "Stop",
          "TurnOff",
          "IncreaseSpeed",
          "TogglePower",
          "TurnOn"
        ]
      },
      {
        "device_id": "43f0619b",
        "props": {
          "addr": "1001101110111001110101100010101011110010100",
          "freq": 433930,
          "zero_gap": 64,
          "bps": 2502,
          "max_speed": 6,
          "trust_state": false,
          "_": "37462ddf"
        },
        "attrs": {
          "name": "Living Room Fan",
          "type": "CF",
          "location": "Living Room",
          "template": "RCF119v2",
          "actions": [
            "SetSpeed",
            "DecreaseSpeed",
            "IncreaseSpeed",
            "TogglePower",
            "Stop",
            "TurnOn",
            "TurnOff"
          ],
          "_": "13c8bf8f",
          "commands": {
            "_": "a31c2485"
          },
          "state": {
            "_": "a9f0d59a"
          },
          "properties": {
            "_": "37462ddf"
          },
          "skeds": {
            "_": "8c9d227a"
          }
        },
        "supported_actions": [
          "SetSpeed",
          "DecreaseSpeed",
          "Stop",
          "TurnOff",
          "IncreaseSpeed",
          "TogglePower",
          "TurnOn"
        ]
      },
      {
        "device_id": "759a4d32",
        "props": {
          "addr": "0000001110011110100",
          "freq": 304000,
          "zero_gap": 35,
          "bps": 2500,
          "max_speed": 3,
          "_": "287e24e0"
        },
        "attrs": {
          "name": "Bedroom Fan",
          "type": "CF",
          "location": "Bedroom",
          "template": "RCF217",
          "actions": [
            "TurnOff",
            "SetSpeed",
            "Stop",
            "TogglePower",
            "TurnOn",
            "IncreaseSpeed",
            "DecreaseSpeed"
          ],
          "_": "49e1195a",
          "commands": {
            "_": "7f2e6967"
          },
          "state": {
            "_": "9703d8f2"
          },
          "properties": {
            "_": "287e24e0"
          },
          "skeds": {
            "_": "a9315c8a"
          }
        },
        "supported_actions": [
          "SetSpeed",
          "DecreaseSpeed",
          "Stop",
          "TurnOff",
          "IncreaseSpeed",
          "TogglePower",
          "TurnOn"
        ]
      },
      {
        "device_id": "2645a81b",
        "props": {
          "mfg": 1,
          "pairing_assets_key": "arc_shade",
          "feature_position": true,
          "addr": 2030555482,
          "_": "a3cd889c"
        },
        "attrs": {
          "name": "Kitchen Shade",
          "type": "MS",
          "location": "Kitchen",
          "template": "RMS35",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Pair",
            "SetPosition",
            "IncreasePosition",
            "DecreasePosition",
            "Stop",
            "ToggleOpen"
          ],
          "_": "8823f09d",
          "commands": {
            "_": "40e67950"
          },
          "state": {
            "_": "0358c603"
          },
          "properties": {
            "_": "a3cd889c"
          },
          "skeds": {
            "_": "1a4ec97c"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "SetPosition",
          "Hold",
          "Pair",
          "IncreasePosition",
          "DecreasePosition",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "0f9dfe9b",
        "props": {
          "mfg": 1,
          "pairing_assets_key": "arc_shade",
          "feature_position": true,
          "addr": 590701621,
          "_": "9eff9a17"
        },
        "attrs": {
          "name": "Living Room Left Shade",
          "type": "MS",
          "location": "Living Room",
          "template": "RMS35",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Pair",
            "SetPosition",
            "IncreasePosition",
            "DecreasePosition",
            "Stop",
            "ToggleOpen"
          ],
          "_": "41b266ce",
          "commands": {
            "_": "06a2128f"
          },
          "state": {
            "_": "7761263c"
          },
          "properties": {
            "_": "9eff9a17"
          },
          "skeds": {
            "_": "9a225d64"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "SetPosition",
          "Hold",
          "Pair",
          "IncreasePosition",
          "DecreasePosition",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "586d70f2",
        "props": {
          "mfg": 1,
          "pairing_assets_key": "arc_shade",
          "feature_position": true,
          "addr": 1225535958,
          "_": "4ef563bc"
        },
        "attrs": {
          "name": "Living Room Right Shade",
          "type": "MS",
          "location": "Living Room",
          "template": "RMS35",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Pair",
            "SetPosition",
            "IncreasePosition",
            "DecreasePosition",
            "Stop",
            "ToggleOpen"
          ],
          "_": "2a49fa3e",
          "commands": {
            "_": "37469455"
          },
          "state": {
            "_": "eb6f8482"
          },
          "properties": {
            "_": "4ef563bc"
          },
          "skeds": {
            "_": "1f61b13c"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "SetPosition",
          "Hold",
          "Pair",
          "IncreasePosition",
          "DecreasePosition",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "477c1f78",
        "props": {
          "mfg": 1,
          "pairing_assets_key": "arc_shade",
          "feature_position": true,
          "addr": 312719266,
          "_": "e5e1dd78"
        },
        "attrs": {
          "name": "Bathroom Shade",
          "type": "MS",
          "location": "Bathroom",
          "template": "RMS35",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Pair",
            "SetPosition",
            "IncreasePosition",
            "DecreasePosition",
            "Stop",
            "ToggleOpen"
          ],
          "_": "10126922",
          "commands": {
            "_": "63e8737d"
          },
          "state": {
            "_": "2a1503f1"
          },
          "properties": {
            "_": "e5e1dd78"
          },
          "skeds": {
            "_": "4a0d8605"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "SetPosition",
          "Hold",
          "Pair",
          "IncreasePosition",
          "DecreasePosition",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "19d8a1d4",
        "props": {
          "addr": "011110110011110000010100110100010",
          "freq": 433900,
          "zero_gap": 23,
          "bps": 2640,
          "_": "ff757b33"
        },
        "attrs": {
          "name": "Bedroom 1 Shade",
          "type": "MS",
          "location": "Bedroom",
          "template": "RMS5",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Stop",
            "ToggleOpen"
          ],
          "_": "99de4097",
          "commands": {
            "_": "5242e5a0"
          },
          "state": {
            "_": "c8716881"
          },
          "properties": {
            "_": "ff757b33"
          },
          "skeds": {
            "_": "7086c10f"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "Hold",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "1c0b5a0b",
        "props": {
          "addr": "011110110011110000010100110100100",
          "freq": 433900,
          "zero_gap": 23,
          "bps": 2640,
          "_": "b77831c7"
        },
        "attrs": {
          "name": "Bedroom 2 Shade",
          "type": "MS",
          "location": "Bedroom",
          "template": "RMS5",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Stop",
            "ToggleOpen"
          ],
          "_": "df349a34",
          "commands": {
            "_": "9db26f0e"
          },
          "state": {
            "_": "cab70348"
          },
          "properties": {
            "_": "b77831c7"
          },
          "skeds": {
            "_": "5d657c8c"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "Hold",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "03df1835",
        "props": {
          "addr": "011110110011110000010100110100110",
          "freq": 433900,
          "zero_gap": 23,
          "bps": 2640,
          "_": "b03acc81"
        },
        "attrs": {
          "name": "Bedroom 3 Shade",
          "type": "MS",
          "location": "Bedroom",
          "template": "RMS5",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Stop",
            "ToggleOpen"
          ],
          "_": "80e01a8c",
          "commands": {
            "_": "db0bea8e"
          },
          "state": {
            "_": "6d29a4a4"
          },
          "properties": {
            "_": "b03acc81"
          },
          "skeds": {
            "_": "5cdf515c"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "Hold",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "26ff4e3f",
        "props": {
          "addr": "011110110011110000010100110101010",
          "freq": 433900,
          "zero_gap": 23,
          "bps": 2640,
          "_": "266b752e"
        },
        "attrs": {
          "name": "Bedroom 5 Shade",
          "type": "MS",
          "location": "Bedroom",
          "template": "RMS5",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Stop",
            "ToggleOpen"
          ],
          "_": "52e20a10",
          "commands": {
            "_": "f5daa6d5"
          },
          "state": {
            "_": "1a28551a"
          },
          "properties": {
            "_": "266b752e"
          },
          "skeds": {
            "_": "01313344"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "Hold",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "617eb96c",
        "props": {
          "addr": "011110110011110000010100110101100",
          "freq": 433900,
          "zero_gap": 23,
          "bps": 2640,
          "_": "f90d9453"
        },
        "attrs": {
          "name": "Bedroom 6 Shade",
          "type": "MS",
          "location": "Bedroom",
          "template": "RMS5",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Stop",
            "ToggleOpen"
          ],
          "_": "f47f540e",
          "commands": {
            "_": "2edbbf84"
          },
          "state": {
            "_": "256f0ba7"
          },
          "properties": {
            "_": "f90d9453"
          },
          "skeds": {
            "_": "46984807"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "Hold",
          "ToggleOpen"
        ]
      },
      {
        "device_id": "23449f0a",
        "props": {
          "addr": "011110110011110000010100110101110",
          "freq": 433900,
          "zero_gap": 23,
          "bps": 2640,
          "_": "cdfca8fa"
        },
        "attrs": {
          "name": "Bedroom 7 Shade",
          "type": "MS",
          "location": "Bedroom",
          "template": "RMS5",
          "actions": [
            "Open",
            "Close",
            "Hold",
            "Stop",
            "ToggleOpen"
          ],
          "_": "54a63a09",
          "commands": {
            "_": "499f0c3e"
          },
          "state": {
            "_": "2d904f37"
          },
          "properties": {
            "_": "cdfca8fa"
          },
          "skeds": {
            "_": "a01b2cc5"
          }
        },
        "supported_actions": [
          "Open",
          "Close",
          "Stop",
          "Hold",
          "ToggleOpen"
        ]
      }
    ]
  }
}

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Hey there @bdraco, @prystupa, @joshs85, @marciogranzotto, mind taking a look at this issue as it has been labeled with an integration (bond) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

Correction - I just realized that when I call the service on the Device - The service runs without an error but still no result. When I run the service on the entity, I get an error saying that the entity does not support the service.

However, when I look at the debug information, it shows that position is supported on this device.

You'll need to be running dev or nightly for cover position support as its not in 2022.5.5 and was added in #72180

Ah - I'm sorry about that. Will support be included in 2022.6?

Ah - I'm sorry about that. Will support be included in 2022.6?

Yes. 🤞 that it works as I didn't have any covers that support it for testing with

I'm going to close this now since the behavior is quite expected