Marc Mueller
Marc Mueller
Technically yes, however optional characteristics must be added manually anyway. Therefore it doesn't make that big of a difference.
The way HomeKit handles this is a bit tricky. Maybe two examples help: ### Case 1, Cover closed, want to open 1. HomeKit will update `TargetPosition` to `100` (start was...
The official HAP specification allow strings only for a few different characteristics, all related to the device information (e.g. Name, Model, Firmware). Although you could in theory use the `Name`,...
Strange. I can replicate it. However installing it locally form source works without issues: ``` pip install -e .[QRCode] ``` Does upgrading pip change anything for you?
Are you using Windows? Those other issues could be helpful https://github.com/warner/python-ed25519/issues/11 https://github.com/home-assistant/home-assistant/issues/13560
I don't think that this is that big of a deal, but adding `@functools.wraps(wrapped)` woun't hurt either. @schinckel Do you want to do the change and prepare the PR?
Superseded by #1867
Superseded by https://github.com/PyCQA/astroid/pull/1867
> Closing as PEP 646 provides support for @cdce8p's use case. Unfortunately, it only fully works for `Mypy`. Pyright doesn't support callables with defaults. ```py from typing import Callable, TypeVarTuple...
Now that both mypy and pyright support using TypeVarTuples for it, I guess the only thing left would be to eventually formalize this in the typing spec. Would be fine...