HA-Jev
Home Assistant integration exposing typed answers as sensors, automation actions, and an Assist conversation agent.
[](https://github.com/AboveColin/HA-Jev/actions/workflows/tests.yaml)
[](https://github.com/AboveColin/HA-Jev/actions/workflows/hassfest.yaml)
[](https://github.com/AboveColin/HA-Jev/actions/workflows/hacs.yaml)
[](https://github.com/hacs/integration)
[](https://github.com/AboveColin/HA-Jev/releases)
[](LICENSE)
# Jev for Home Assistant
Ask [TypeSafe Jev](https://typesafe.ai) questions about your house and get numbers
back. Jev is a decision model rather than a chat model, so it answers a typed
question with a probability, a choice or a score, and this integration turns each
answer into an entity you can automate on.
**[Full documentation](https://jev.cdevries.dev)**
Not affiliated with TypeSafe. The API client is
[jevclient](https://github.com/AboveColin/jevclient).
## What it does
- Questions become sensors: a probability, one of your options with its
distribution, or a number that can land between levels. Add them in the UI,
or in `configuration.yaml`, or both.
- Four actions answer inside an automation and return a response variable:
`jev.noul`, `jev.choice`, `jev.score` and `jev.ask`.
- Point a question at entities, devices, areas, floors or labels in the normal
picker and the state is built for you, so no template is needed.
- A conversation agent for Assist, so spoken commands are routed by the same model
and counted against the same budget.
- Reports what it spends: calls, input tokens and estimated cost per day, plus a
daily token budget that halts evaluation when it trips.
- Fifteen worked [examples](examples/), four of them pairing Jev with an LLM.
```yaml
automation:
- alias: Remind about the washing
triggers:
- trigger: state
entity_id: binary_sensor.jev_laundry_forgotten
to: "on"
for: "00:10:00"