Open zoe-codez opened 1 month ago
Needs consideration for
Schema
Seems like this might be best approached with something that do validation. class-validator
, zod
, and the like have the ability to check on the incoming values.
They can also translate to json schema, which can then be handled by vol
in python
Not sure what the flavor of the month for validators is tho
How to handle conflicts
Maybe an expansion issue here. Seems like v1 should allow some foot gun and allow conflicts
A follow up might have apps that are conflict-y emit some warnings
Context
It'd be awesome if synapse was able to expose service calls to home assistant, in addition to entities. This would enable more standard interactions via
hass.call
, instead of weird side workflows involving buttonsSome chatgpt proof of concept to visualize python side.
Blocked by https://github.com/Digital-Alchemy-TS/hass/issues/34