3.0.0-rc5
Pre-release
Pre-release
Breaking change
The following methods have been removed from the connection object and can now be imported individually: conn.getStates(), conn.getConfig(), conn.getServices(), conn.callService().
Replace calls with:
import { getServices } from 'home-assistant-js-websocket';
const services = await getServices(conn);