spacemanspiff2007
spacemanspiff2007
https://github.com/openhab/openhab-core/pull/3559
msgspec seems to be a nice and performant way to model the openHAB responses. Maybe try it out with websocket support
Rework FileWatcher so the same file e.g. with different permissions/timestamp/newlines is not reloaded
It would be nice if there is an item that only accepts StrEnum values. Make it in a way that the IDE can provide auto-complete and checks.
I have a new issue which could be related to the changes of the topic filter. ``` 2022-12-30 18:30:47.753 [ERROR] [HABApp.openhab.connection] - SSE request Error: Chunk too big 2022-12-30 18:30:47.757...
To reproduce: - Create rule file that can not be properly loaded - Delete the file again
Add a good programmatic way to expire an item, e.g. ``` item.expire(3600, set_to=None) ```
If an *.items file from openhab gets reloaded the corresponding rules still point to the old item instances. Somehow it must be possible to update these variables.
Filtering relationships with sub queries does not work. **To Reproduce** ```python from tortoise import fields, run_async, Tortoise from tortoise.expressions import Subquery from tortoise.fields import ManyToManyRelation, ManyToManyField from tortoise.models import Model...