diff --git a/homeassistant/components/frontend/www_static/websocket_test.html b/homeassistant/components/frontend/www_static/websocket_test.html new file mode 100644 index 00000000000..d4c0974899c --- /dev/null +++ b/homeassistant/components/frontend/www_static/websocket_test.html @@ -0,0 +1,125 @@ + + +
+ ++Examples: +{ + "id": 2, "type": "subscribe_events", "event_type": "state_changed" +} + +{ + "id": 3, "type": "call_service", "domain": "light", "service": "turn_off" +} + +{ + "id": 4, "type": "unsubscribe_events", "subscription": 2 +} + +{ + "id": 5, "type": "get_states" +} + +{ + "id": 6, "type": "get_config" +} + +{ + "id": 7, "type": "get_services" +} + +{ + "id": 8, "type": "get_panels" +} ++