Commit Graph

137 Commits (f63a79ee8fb8b28854e15db94433c595977973aa)

Author SHA1 Message Date
Paulus Schoutsen 0d734303a4 HTTP: Fix registering views after start (#4604) 2016-11-27 14:01:12 -08:00
Paulus Schoutsen 914a868fbd Add websocket API (#4582)
* Add websocket API

* Add identifiers to interactions

* Allow unsubscribing event listeners

* Add support for fetching data

* Clean up handling code websockets api

* Lint

* Add Home Assistant version to auth messages

* Py.test be less verbose in tox
2016-11-26 18:23:28 -08:00
Paulus Schoutsen 32ffd006fa Reorganize HTTP component (#4575)
* Move HTTP to own folder

* Break HTTP into middlewares

* Lint

* Split tests per middleware

* Clean up HTTP tests

* Make HomeAssistantViews more stateless

* Lint

* Make HTTP setup async
2016-11-25 13:04:06 -08:00
Paulus Schoutsen 9616a2292e Add manifest.json 2015-03-03 21:15:15 -08:00
Paulus Schoutsen 3f26fc3b06 Move more HTTP stuff into constant file 2015-02-13 18:27:13 -08:00
Paulus Schoutsen cddeddac8d For backwards compat, have http load frontend/api 2015-01-31 09:55:26 -08:00
Paulus Schoutsen 13ac71bdf0 Clean up http related components 2015-01-30 08:26:06 -08:00
Paulus Schoutsen 61f6aff056 Upgrade to Polymer 0.5.4 2015-01-30 00:00:19 -08:00
Paulus Schoutsen 8feeafd8a3 Refactor http into frontend and api component 2015-01-29 23:56:21 -08:00
Geoff Norton 8b947e2fab Merge remote-tracking branch 'origin/dev' into dev
Conflicts:
	homeassistant/components/http/frontend.py
	homeassistant/components/http/www_static/frontend.html
2015-01-22 05:27:26 +00:00
Geoff Norton ead5d99394 Update the frontend with the new icon for sensor 2015-01-22 05:23:12 +00:00
Paulus Schoutsen ff230cefe3 Disable pylint unused-argument check 2015-01-19 23:40:51 -08:00
Paulus Schoutsen 2016da984a Tweaks to the configurator UI 2015-01-19 22:40:30 -08:00
Paulus Schoutsen cdbcc844cf Add tests, fix styling 2015-01-19 21:40:54 -08:00
Paulus Schoutsen 980ecdaacb Add initial version of configurator component 2015-01-19 21:40:54 -08:00
Paulus Schoutsen 0c5f1234da Fix tabs being selectable by clicking on header 2015-01-19 21:39:44 -08:00
Paulus Schoutsen 35094a1667 Data binding fix: Update instead of replace states 2015-01-19 21:39:44 -08:00
Paulus Schoutsen 9d933f517b Merge pull request #22 from kangaroo/wink-sensors
Wink sensor support
2015-01-19 21:30:44 -08:00
Geoff Norton c224b91945 Merge branch 'wink-sensors' into dev 2015-01-20 05:22:39 +00:00
Geoff Norton abfaca3bfb Update sensor icon for now 2015-01-20 04:55:12 +00:00
Paulus Schoutsen dd38621352 Frontend: show message if no states 2015-01-17 23:29:46 -08:00
Paulus Schoutsen ed05ff6fd9 Allow for running Home Assistant without password 2015-01-17 21:55:33 -08:00
Paulus Schoutsen 50eecd11c1 Added command line toggle to open UI on start 2015-01-17 21:13:02 -08:00
Paulus Schoutsen c116cb095d Better positioning of dialogs 2015-01-14 23:57:23 -08:00
Paulus Schoutsen ced3d595cc Added error handling in frontend debug forms 2015-01-14 23:56:53 -08:00
Paulus Schoutsen 3e4c0261b1 Conditionally show widgets on light more info 2015-01-14 23:10:56 -08:00
Paulus Schoutsen fd6ff4c8d3 Rename the edit state button in more info to debug 2015-01-14 22:15:27 -08:00
Paulus Schoutsen d1ad6f3e65 Show state attributes in default more info dialog 2015-01-12 23:57:57 -08:00
Paulus Schoutsen aea6042fe1 Getting thermostat component ready for release 2015-01-11 21:21:18 -08:00
Paulus Schoutsen 6943a3bc14 Add a Nest specific card to frontend 2015-01-06 00:11:03 -08:00
Paulus Schoutsen b10b75b7fe Reorganized frontend files 2015-01-05 21:41:15 -08:00
Paulus Schoutsen 4fec2dcb28 Add notification component and PushBullet platform 2015-01-04 01:14:18 -08:00
Paulus Schoutsen a6ec071244 ps: dialogs on small screens only take needed height 2015-01-03 09:52:47 -08:00
Paulus Schoutsen 1ebaf7fd36 Tweaked the default 'more info' component text 2015-01-02 08:47:11 -08:00
Paulus Schoutsen 67d62a1723 New compiled version of frontend 2015-01-01 22:06:55 -08:00
Paulus Schoutsen edb01b6bb4 Moved dialog logic to base class. 2015-01-01 22:06:39 -08:00
Paulus Schoutsen 5e9303dbf2 Create cards and more-info elements dynamically 2015-01-01 22:02:28 -08:00
Paulus Schoutsen a0a1573dc9 More info for sun domain added 2015-01-01 21:02:30 -08:00
Paulus Schoutsen debca88a0d All custom groups in 1 section instead of each their own 2015-01-01 20:03:24 -08:00
Paulus Schoutsen dec12be52e Add more-info card for group domain 2015-01-01 19:42:20 -08:00
Paulus Schoutsen 85f5df55e9 frontend more-info-light: tweaks & cleanup 2014-12-30 18:37:33 -08:00
Paulus Schoutsen 4dcaf12fa7 Added option to select light colors 2014-12-29 23:54:55 -08:00
Paulus Schoutsen cfeb1f1538 Now able to change brightness of lights from more info dialog 2014-12-29 23:40:27 -08:00
Paulus Schoutsen 973525da6d Do not pollute template refs with ambigious names 2014-12-29 22:49:11 -08:00
Paulus Schoutsen d5737aafce Frontend: Clicking a card opens more info screen 2014-12-29 22:47:29 -08:00
Paulus Schoutsen 029c38874b State card rendering now way more flexible
Decoupled state card into reusable components. Now able to have
different states be rendered with different state card components.
2014-12-23 21:12:42 -08:00
Paulus Schoutsen 249d4d7062 Add code to mock API for demo on home-assistant.io 2014-12-21 15:07:01 -08:00
Paulus Schoutsen 47adae7917 Frontend: color switch icons yellow if on 2014-12-16 22:04:01 -08:00
Paulus Schoutsen 4e4e6b1133 Upgrade to Polymer 0.5.2 2014-12-14 00:45:29 -08:00
Paulus Schoutsen 5e8673fc4a API Call Service returns states changed 2014-12-14 00:35:16 -08:00