Tim Neumann

Results 62 comments of Tim Neumann

The error during `play` can be fixed by passing `self._room` to `async_get_room_transport_info` in `async_update_transport_state`. Though that does not fix the "play state" detection.

Logging the result of `async_get_room_transport_info`: ```plain Mar 06 11:04:10 ctrl hass[262646]: 2021-03-06 11:04:10 DEBUG (MainThread) [custom_components.teufel_raumfeld] media_player.py->async_update_transport_state: Transport Info: {'CurrentTransportState': 'PLAYING', 'CurrentTransportStatus': 'OK', 'CurrentSpeed': '1'} ```

Alright, I've been experimenting some more: 1. `async_media_pause` also uses `_rooms` as an argument instead of `_room` in one place. 2. `async_update` unconditionally setting the `_state` seems to part of...

Thanks a lot for your work on this! If just tested this and found the following issue: `room_is_spotify_single_room(...)` no longer returns the correct result. With `hassfeld` master: ```py >>> import...

So, I went with approach (2) by defining two types ```rust struct PreMiddlewareWrapper { pipeline_chain: C, pipelines: PipelineSet, new_handler: NH, } struct PreMiddlewareHandler { pipeline_chain: C, pipelines: PipelineSet, handler: H,...

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

Maybe to provide a bit of context: I've been working USB Serial Logger implementation. The logs are initially written to an internal buffer. Whenever `endpoint_in_complete` is called, the buffer is...

The Logger is actually a wrapper around `usbd-serial`.

> Then it should start sending when you write to it. It does. The issue is that the initial write is never triggered because it happens during `UsbClass::poll`.

> Honestly I don't remember what `UsbClass::poll` was meant to be used for. It might be a candidate for removal now to avoid confusion. I'd be ~fine with that, I...