Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homeassistant-ws

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homeassistant-ws - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"name": "homeassistant-ws",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Client for Homeassistant's websocket API",

@@ -17,3 +17,3 @@ declare module "homeassistant-ws" {

token?: string;
messageSerializer: (outgoingMessage: WebsocketMessage) => string;

@@ -31,3 +31,3 @@ messageParser: (incomingMessage: string) => WebsocketMessage;

interface EventCallback {
(event: EventData): void
(event: EventData): void;
}

@@ -48,8 +48,16 @@

callService: (domain: string, service: string, additionalArgs?: ServiceCallOptions) => Promise<Result>;
getMediaPlayerThumbnail: (entityId: EntityId) => Promise<BinaryContentResult>;
callService: (
domain: string,
service: string,
additionalArgs?: ServiceCallOptions
) => Promise<Result>;
getMediaPlayerThumbnail: (
entityId: EntityId
) => Promise<BinaryContentResult>;
getCameraThumbnail: (entityId: EntityId) => Promise<BinaryContentResult>;
}
export default function createClient (options: Config): Promise<Client>;
export default function createClient(
options: Partial<Config>
): Promise<Client>;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc