What's New¶
0.3.0¶
- Integrated homeassistant-api client object as
apivariable for pure REST/WS API access api.get_state(entity_id="binary_sensor.kitchen_pir")apihas its ownAsyncEntityclass which differs from theApiEntityused by the core REPL- reason is that
ApiEntityis designed to offer a subset of the real entity and allow easier prototyping of custom component code whereasAsyncEntityis thehomeassistant-apipackage way of working purely with API data
- reason is that
- Auto await will do the
awaitfor you with coroutines if you forget. - Can be switched off completely with
--no-auto-await - Can be one-off switched off by doing an
unawaitto get raw coroutine - Replaced use of
websocketswithniquests[ws]
0.2.0¶
- Renamed to
Home Assistant REPLand cli tool toha_replto make it clearer what it does and avoid confusion in package name space or terminal with other dev shells.
0.1.2¶
- Simpler
connectmethod to use the API andobjfrom any Python async code - Environment variables can be sourced from an
.envfile
0.1.1¶
- Changed
apimode prompt to standard Python>>> - Improved docs and tests
- Default Home Assistant URL is now
http://homeassistant.local:8123
0.1.0¶
Initial working shell, useful in both api (API use only) and custom (custom server component) modes.
See Roadmap for where this might go next.