Commit Graph

1114 Commits (8be6605be95d28abe96a335efdd866ed57298e7b)

Author SHA1 Message Date
Paulus Schoutsen 714b516176 aiohttp 2 (#6835)
* Upgrade aiohttp2

* Fix resource caching

* Fix helpers.aiohttp_client

* Lint

* Use static path for api error_log

* Fix ClientErrors import

* Remove not needed DisconnectError

* Remove releasing responses code

* Add timeout if stream starts non responding

* More async_aiohttp_proxy_stream cleanup

* Fix references to ClientError

* Fix fingerprinting

* Fix aiohttp stream tests

* Rename aiohttp_proxy_stream

* Remove impossible darksky test

* Fix sleepiq requests escaping mocker

* Lint

* Remove deprecated parameter

* Break up aiohttp_proxy_stream in 2 methods

* Lint

* Upgrade to aiohttp 2.0.4

* Convert connector close to a callback

* Fix static fingerprinted links
2017-03-30 00:50:53 -07:00
Paulus Schoutsen 4ee8be52fe Update frontend 2017-03-20 21:31:58 -07:00
Paulus Schoutsen 3f38b9e52f Update frontend 2017-03-19 21:59:13 -07:00
Paulus Schoutsen 493c0bbb4c Update frontend 2017-03-10 22:51:44 -08:00
Paulus Schoutsen 3a7cc9bb45 Update frontend 2017-02-25 15:03:24 -08:00
Lev Aronsky c1be5ede1c Add 'entity_picture' to Darksky component (#6141) 2017-02-21 00:01:44 -08:00
Paulus Schoutsen 041f1edd35 Update frontend 2017-02-20 21:56:38 -08:00
Paulus Schoutsen 0f1a254f3b Update frontend 2017-02-15 22:33:52 -08:00
Adam Mills 2993a4a7a5 Add object-assign polyfill support to polymer (#5994)
* Add object-assign polyfill support to polymer

* Conditionally load compatibility.js

* Remove compatibility preload

* Include newly compiled files

* Update compiled frontend with latest polymer
2017-02-14 12:00:45 -08:00
Paulus Schoutsen 462b47c725 Update frontend (#5987) 2017-02-13 22:25:26 -08:00
Stuart Mumford a8dc559519 Add support for the Open Energy Monitor Thermostat (#5583)
* Add support for the Open Energy Monitor Thermostat

* Fix linting errors

* Define an update method and local state

* fix linter

* Small tweaks.

Update oemthermostat version, default name and docstrings

* Fail to setup oem platform if connection fails.

* update requirements

* More tweaks to auth and exceptions

* Remove target temp
2017-02-13 16:45:04 +01:00
Paulus Schoutsen 7b56fe2af6 Update frontend (#5939) 2017-02-13 00:00:41 -08:00
Paulus Schoutsen 780173befb Update frontend (#5923) 2017-02-12 11:35:36 -08:00
Paulus Schoutsen 44311193ef Add config component and hassbian example panel (#5868)
* Add hassbian panel

* Rename to generic config panel

* Allow loading hassbian as test

* Add tests

* Update frontend

* Lint

* Lint
2017-02-11 17:29:05 -08:00
Paulus Schoutsen 3a7309ab62 Update frontend (#5866) 2017-02-10 21:06:42 -08:00
Paulus Schoutsen 23ff2eb79c Update frontend (#5855) 2017-02-10 09:30:13 -08:00
Paulus Schoutsen ebceca36ec Update frontend (#5820) 2017-02-08 20:55:15 -08:00
Paulus Schoutsen 03fe5b04b5 Remove non-working webfont preload (#5819) 2017-02-08 20:31:36 -08:00
Paulus Schoutsen bdebe5d53c Update frontend (#5800) 2017-02-07 21:30:24 -08:00
Paulus Schoutsen bdc62730bd Update frontend (#5696) 2017-02-01 09:03:35 -08:00
Paulus Schoutsen 987f59e8d8 Update frontend (#5685) 2017-02-01 00:47:02 -08:00
Paulus Schoutsen 8334bc908c Update frontend (#5683) 2017-01-31 19:29:07 -08:00
Paulus Schoutsen 9ae574c7d9 Update frontend (#5669) 2017-01-31 07:39:01 -08:00
Paulus Schoutsen 55992468b0 Update frontend (#5652)
* Return empty result when history date is in future

* Update frontend
2017-01-30 09:12:07 -08:00
Paulus Schoutsen f1d1f7d032 Update frontend (#5642) 2017-01-30 00:57:13 -08:00
Paulus Schoutsen c8ff1094f8 Update frontend (#5640) 2017-01-30 00:20:51 -08:00
Paulus Schoutsen 318f3c9625 Update frontend (#5638)
* Ensure fonts get loaded quicker

* Update frontend
2017-01-29 23:26:35 -08:00
Paulus Schoutsen da4f402ebe Update frontend (#5637) 2017-01-29 18:43:39 -08:00
Paulus Schoutsen b5047bbaad Prioritize core.js (#5636)
* Prioritize loading app core script

* change app skeleton to be small
2017-01-29 18:36:48 -08:00
Paulus Schoutsen 4aab72fe7c Update MDI 2017-01-26 22:59:32 -08:00
Paulus Schoutsen 5948b5e33a Update frontend 2017-01-26 22:59:13 -08:00
Paulus Schoutsen 14309401d0 Update frontend 2017-01-20 22:10:44 -08:00
Paulus Schoutsen f87016afe6 Update MDI 2017-01-09 01:38:27 +01:00
Paulus Schoutsen b685e6e2b5 Update frontend 2017-01-09 01:38:04 +01:00
Paulus Schoutsen 5983dc232f Update frontend 2017-01-09 01:14:13 +01:00
Craig J. Ward a3971d7ad1 Insteon local (#5088)
* platform set-up begin components

* lights seem to be getting set up properly, not sure why they aren't being added...

* typo

* Dependencies line

* toggle working

* toggle working

* added the switch to insteon_local

First commit hope to test tonight or in the morning

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* Update insteon_local.py

* move dependency declaration before import?

* Move dependencies in Switch

* Update insteon_local.py

* wait for response

* switched the while to an if

switched the while 'cmd2' not in resp: to an if 'cmd2' not in resp: this seems to have the updater working

* Switched the while sleep loop to an if

switched the wile cmd2 not ins resp to be if cmd2 not in resp seems to be working.

* Update insteon_local.py

* import statement

Updated the import statement to import the instance of the insteon_local component not the hub Instance.

* updated import and the device assignment

update the import to import the instance of the insteon_local component not the hub.

* more changes to support the import change

* more changes to support the import change

* change to hass.data and add loop logic

* &&

* Update insteon_local.py

* Update insteon_local.py

* logic fixes and throttle

* reduce polling time

* brightness support

* import util

* hound fixes

* requirements file

* more hound fixes

* newline

* newline weirdness

* lint fixes

* more lint fixes

* switch state

* Update insteon_local.py

* log cmd2 for debugging

* assume success

* remove check for none

* fix comments

* fix comments again

* fix comments, add fixed version of lib, add support for timeout, add support for port, handle invalid login and connection problems

* fix logging exception

* fix hounceci-bot errors

* fix hounceci-bot errors

* requirements fix

* unique-id changes

* make dimmer off use saved ramp rate

* configurator working for lights

* configurator working for switches?

* configurator working for switches?

* include model names and fix lint errors

* lint fix

* fix exception order

* lint fixes

* fix lint errors

* update to use insteon local 0.38

* fix device id

* move status check to library

* move status check to library

* add SKU to setup

* lint fixes

* requirements

* linting
2017-01-09 00:33:35 +01:00
Paulus Schoutsen f88b5a9c5e Update frontend 2017-01-05 22:28:48 +01:00
eieste fdd3fa7d80 Apple TouchBar icon Support (mask-icon) (#5159)
* Update index.html

Add Apple TouchBar icon Color Support

* Add svg icon

* Change path to SVG icon

* Rename mask-icon.svg to home-assistant-icon.svg

* Remove useless whitespace

* Update index.html
2017-01-03 21:32:40 +01:00
Michaël Arnauts c77b4a4806 Update icons from materialdesignicons.com (#5081) 2016-12-27 21:36:07 +01:00
Paulus Schoutsen b318a033bb Cast fix (#4939)
* Update frontend

* Fix exception on cast startup
2016-12-16 00:10:56 -08:00
Paulus Schoutsen da6bdf275e Update frontend 2016-12-13 23:30:08 -08:00
Paulus Schoutsen c90a1b9760 Update frontend 2016-12-08 22:31:32 -08:00
Paulus Schoutsen 64290d74f0 Update frontend 2016-12-05 21:40:45 -08:00
Paulus Schoutsen db6a6fa4cb Lint 2016-12-04 14:45:25 -08:00
Paulus Schoutsen 31a8537ab5 Update frontend 2016-12-04 14:32:43 -08:00
Paulus Schoutsen 69d3a3dd32 Version bump to 0.34 2016-12-03 12:16:18 -08:00
Paulus Schoutsen 9db1ff8cd4 Update frontend 2016-11-27 22:27:02 -08:00
Paulus Schoutsen d4bc8e23af Update frontend 2016-11-27 17:21:11 -08:00
Paulus Schoutsen 767f3d58ff Add websocket_api as frontend dependency 2016-11-27 12:13:01 -08:00
Paulus Schoutsen 464e843186 Update frontend 2016-11-26 23:44:20 -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
Lewis Juggins 95b439fbd5 Upgrade aiohttp to 1.1.5 (#4213) 2016-11-24 21:37:56 -08:00
Paulus Schoutsen 0364498dee Add .hound.yml 2016-11-13 11:34:09 -08:00
Paulus Schoutsen 1d0f3b930f Version bump to 0.32.0 2016-11-05 08:40:32 -07:00
Lewis Juggins 6f68752d1e Speed up Sonos tests (#4196) 2016-11-03 21:23:37 -07:00
Paulus Schoutsen 1d100dcac9 Bugfix/frontend group urls (#4185)
* Remove unnecessary sleeps

* Frontend: fix serving index when refreshing view page.
2016-11-02 21:15:23 -07:00
Bart274 a3ae96440b Update the icloud device_tracker (#4081)
* Update the icloud device_tracker

* addressed @kellerza 's comments

* GMTT config needs an entity_id

* renamed services

* fix cookiedir and clean up keep_alive function

* fix travis errors

* forgot a self.

* update devices after initializing the API

* changed wording

* addressed changes from @kellerza

* Syntax error solved

* Update icloud.py

* Only use account of username instead of whole username as default for account name

* use slugify instead of slug for schema

* remove Google Maps Travel Time

* Add comment from original tracker back
2016-11-02 21:07:23 -07:00
Paulus Schoutsen d7dd7df5e7 Update frontend 2016-11-02 20:39:42 -07:00
Nicholas Sideras 1d9ac5f8b3 Update __init__.py (#4155)
Changed manifest.json to respect Android screen rotate lock.
2016-10-31 13:04:54 -07:00
Fabian Affolter be272ac64a Disable too-many-* (#4107)
* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Paulus Schoutsen 33439aaa22 Update frontend 2016-10-27 00:21:55 -07:00
Adam Mills 89e8fb4066 Configurator support for entity_picture (#4028) 2016-10-24 22:28:34 -07:00
Paulus Schoutsen 519d9f2fd0 async HTTP component (#3914)
* Migrate WSGI to asyncio

* Rename wsgi -> http

* Python 3.4 compat

* Move linting to Python 3.4

* lint

* Lint

* Fix Python 3.4 mock_open + binary data

* Surpress logging aiohttp.access

* Spelling

* Sending files is a coroutine

* More callback annotations and naming fixes

* Fix ios
2016-10-23 23:48:01 -07:00
Paulus Schoutsen 0fce5ccc7f Update frontend 2016-10-22 11:24:06 -07:00
Paulus Schoutsen da7837af73 Update frontend 2016-10-21 20:52:58 -07:00
Justin Weberg f1b658ea5d Fix Typo (#3942) 2016-10-18 17:59:14 -07:00
Paulus Schoutsen 53b5dc8e84 Build frontend 2016-10-18 09:10:22 -07:00
Justin Weberg 207c9e8575 Fix Comment (#3913) 2016-10-16 16:56:02 -07:00
Justin Weberg 2a972b2334 Move micromarkdown to HA (#3908)
* Move micromarkdown to HA

* Fix requests

* Update micromarkdown-js.html& .gz

* Update micromarkdown-js files
2016-10-16 15:47:34 -07:00
Paulus Schoutsen f916fc04f9 Update frontend 2016-10-14 00:02:21 -07:00
hexa- 154eacef6c Http: Change approved_ips from string to cidr validation (#3532) [BREAKING CHANGE]
* Change approved_ips from string to cidr validation

Relabel to trusted_networks, better reflecting its expected inputs,
everything that ipaddress.ip_networks recognizes as an ip network
is possible:
- 127.0.0.1      (single ipv4 addresses)
- 192.168.0.0/24 (ipv4 networks)
- ::1            (single ipv6 addresses)
- 2001:DB8::/48  (ipv6 networks)

* Add support for the X-Forwarded-For header
2016-10-09 08:13:30 -07:00
Paulus Schoutsen 09cbf68637 Update frontend 2016-10-08 09:23:45 -07:00
Paulus Schoutsen e4e13b59cf Update frontend 2016-10-04 23:15:10 -07:00
Paulus Schoutsen 148ea82513 Update frontend 2016-10-02 15:38:18 -07:00
Paulus Schoutsen 68835c4b4b Update frontend 2016-09-19 23:56:40 -07:00
Paulus Schoutsen fa2ce366de Update frontend 2016-09-19 21:12:31 -07:00
Paulus Schoutsen c89a77dc74 Update frontend 2016-09-18 00:04:43 -07:00
Paulus Schoutsen 4076ccf639 Use setup_component in tests (#3414)
* Alarm Control Panel Manual - use setup_component

* Update automation - zone tests

* Update climate - demo tests

* Update climate - generic thermostat tests

* Update cover - command line tests

* Update cover - demo tests

* Update device tracker tests

* Update device tracker - owntracks tests

* Update fan - demo tests

* Update garage door - demo tests

* Update light tests

* Update lock - demo tests

* Update media player - demo tests

* Update notify - command line tests

* Update notify - demo tests

* Update notify - file tests

* Update notify - group tests

* Update sensor - mfi tests

* Update sensor - moldindicator tests

* Update sensor - mqtt room tests

* Update switch - command line

* Update switch - flux

* Update switch tests

* Update scene tests

* Fix wrong default port for mfi switch
2016-09-17 10:29:58 -07:00
Robbie Trencheny d466bae244 Update frontend 2016-09-09 14:23:03 -07:00
Robbie Trencheny 48e6befc13 Update frontend 2016-09-03 22:04:23 -07:00
Robbie Trencheny 32e1e046ae Merge branch 'master' into dev 2016-09-03 16:25:59 -07:00
Robbie Trencheny 64cc4a47ec 0.27.2 (#3151)
* Host should be optional for apcupsd component (#3072)

* Zwave climate Bugfix: if some setpoints have different units, we should fetch the o… (#3078)

* Bugfix: if some setpoints have different units, we should fetch the one that are active.

* Move order of population for first time detection

* Default to config if None unit_of_measurement

* unit fix (#3083)

* humidity slider (#3088)

* If device was off target temp was null. Default to Heating setpoint (#3091)

* Fix for BLE device tracker (#3019)

* Bug fix tracked devices
* Added scan_duration configuration parameter

* fix homematic climate implementation (#3114)

* Allow 'None' MAC to be loaded from known_devices (#3102)

* Climate and cover bugfix (#3097)

* Avoid None comparison for zwave cover.

* Just rely on unit from config for unit_of_measurement

* Explicit return None

* Mqtt (#11)

* Explicit return None

* Missing service and wrong service name defined

* Mqtt state was inverted, and never triggering

* Fixed Homematic cover (#3116)

* Add missing docstrings (fix PEP257 issues) (#3098)

* Add missing docstrings (fix PEP257 issues)

* Finish sentence

* Merge pull request #3130 from turbokongen/zwave_fixes

Bugfix. climate and covermqt

* Back out insteon hub and fan changes (#3062)

* Bump version

* Special frontend build for 0.27.2
2016-09-03 15:59:20 -07:00
Robbie Trencheny b5ae005acc Update frontend 2016-09-02 14:50:10 -07:00
Robbie Trencheny b8b1fadc6d Update frontend 2016-09-01 21:59:32 -07:00
Robbie Trencheny 43555b646c update frontend 2016-08-27 20:05:44 -07:00
Paulus Schoutsen 63e3d20260 update frontend 2016-08-23 19:36:45 -07:00
Paulus Schoutsen 88573667fa Update frontend 2016-08-23 00:06:58 -07:00
Paulus Schoutsen 0d7d125344 Update frontend 2016-08-21 16:58:42 -07:00
Paulus Schoutsen 7598de90cb Allow unregistering a push subscription (#2921)
* Allow unregistering a push subscription

* Update frontend

* ps - HTML5 tests DRY 🍾
2016-08-21 16:01:24 -07:00
Paulus Schoutsen 23e86fc8ea Update frontend 2016-08-20 23:44:31 -07:00
Robbie Trencheny a5f144cb7c HTML5 notify actions (#2855)
* Add action and callback support to html5 (#2855).

Remove registrations from the callback view since we always get the latest anyway.

We dont put an audience in the claims so we will never hit this error.

Bring tests back up to where they were before callbacks.

Only import jwt where necessary

Fix bracket spacing errors

Fix JWT decode check for loop

Remove stale comment.

Add tests for the callback system.

Shorten line

Disable pylint broad-except and change e to jwt_decode_error.

Verify expiration

Remove duplicate jwt.exceptions.DecodeError

Catch no keys matched and return False

* Switch to using registrations for callbackview instead of json_path

* Only check for URL and such if the data object actually exists

* raise instead of return

* cleanup decode_jwt

* Clean up JWT errors

* Correctly set status_code to 401

* Improve JWT by adding target to claims and attempting to check the given target for a decode match first, as well as pass the target through in the event payload.

* Add tag support and fix formatting issues

* Pass through any keys that dont apply to the payload into the notification.data dictionary

* Remove stale print

* Pass back the data dictionary if it exists

* Actually put the default url even if a notify payload dictionary doesnt exist

* pylint, flake8

* Add subscription validation

* Add validation for the callback event payload and use constants where possible

* Use HTTP_UNAUTHORIZED instead of 401

* Change callback dictionary to dict instead of cv.match_all

* Fix up tests and make subscription required

* Whoops, that test was supposed to fail

* Use the result of CALLBACK_EVENT_PAYLOAD_SCHEMA as event_payload

* Add a test for html5 callback decode_jwt where the device has been renamed since notification has been sent.

* Remove the loop through logic, assume that target is always in JWT

* Always return something instead of possibly None.

* Update frontend
2016-08-17 22:34:12 -07:00
Paulus Schoutsen 2237189c86 Add default badge to push notification (#2859) 2016-08-16 23:05:00 -07:00
Paulus Schoutsen 7720a17c18 Add badge 2016-08-16 23:02:19 -07:00
Paulus Schoutsen dc68f61261 Html5 push notifications notify platform (#2807)
* Initial work to add Chrome Push Notification support

* Remove push.js from home-assistant since it is now in Polymer

* Chrome->HTML5, general cleanup/fixes

* Make html5 generic, move manifest.json into frontend so that we can dynamically add the gcm_sender_id

* Pylint, flake8, pydocstyle frontend init

* HTML5 push fixes

* Update polymer

* Remove crypto req

* Add notify default platform.

* Fix HTML5 push

* Registration fixes

* Linting fix

* pep257 fix

* Add tests

* pep257 fix

* Update frontend
2016-08-14 01:10:07 -07:00
Paulus Schoutsen f845893f8f Update frontend 2016-08-13 10:21:54 -07:00
Paulus Schoutsen 0b404cc0be Update frontend 2016-08-13 09:41:23 -07:00
Paulus Schoutsen 492ade7b1a Update frontend 2016-08-09 20:12:20 -07:00
Paulus Schoutsen 9a575eb6d6 Link prefetch panels (#2748)
* Add link=prefetch to index.html

* Improve http request logging
2016-08-08 17:35:27 -07:00
Paulus Schoutsen dd0b9f2f36 Update frontend 2016-08-08 00:41:32 -07:00
Paulus Schoutsen b9b1d95514 Tweak panel parameters (#2746) 2016-08-07 21:56:17 -07:00
Paulus Schoutsen 231656916c Address last comments 2016-08-04 22:44:37 -07:00
Paulus Schoutsen 792154a6a7 Update frontend 2016-08-03 08:22:47 -07:00
Paulus Schoutsen 1856e0110b Update frontend 2016-07-31 19:07:06 -07:00
Paulus Schoutsen c39c10a088 update frontend 2016-07-31 16:39:07 -07:00
Paulus Schoutsen f4d6ce08e4 Update frontend 2016-07-31 14:47:01 -07:00
Paulus Schoutsen 89ec39f629 Update frontend 2016-07-31 00:43:28 -07:00
Paulus Schoutsen 99b27b1ec6 Update frontend 2016-07-30 11:22:44 -07:00
Paulus Schoutsen 55624bcff9 Add custom panel example using React (#2651) 2016-07-29 00:49:58 -07:00
Paulus Schoutsen ec8802ec44 Update frontend 2016-07-28 09:22:15 -07:00
Paulus Schoutsen 1620680127 Use local timezone for log and history dates (#2622)
* Use local timezone for log and history dates

* home-assistant-js fix

* Submodule updates not included so travis can build

* Separate Date and DateTime http validators

* Include submodule reference

* Update frontend
2016-07-27 20:43:46 -07:00
Paulus Schoutsen 487f3b2951 Update frontend 2016-07-23 10:19:26 -07:00
Paulus Schoutsen a513e1cc35 Update frontend 2016-07-21 08:41:48 -07:00
Paulus Schoutsen 2ea2a62d45 Update service worker 2016-07-20 23:40:40 -07:00
Paulus Schoutsen 59029f2830 Update frontend 2016-07-19 23:36:52 -07:00
Paulus Schoutsen 7c431911d1 Update frontend 2016-07-19 02:37:22 -07:00
Paulus Schoutsen 5001c9729f Update frontend 2016-07-18 21:29:50 -07:00
Paulus Schoutsen 541fffc7fa Update frontend 2016-07-17 23:23:31 -07:00
Paulus Schoutsen 38c50c830f Fix linting errors 2016-07-16 23:45:38 -07:00
Paulus Schoutsen 925a623445 Build frontend 2016-07-16 23:24:17 -07:00
Paulus Schoutsen 22b4aebeb3 Add support for dynamic frontend panels 2016-07-16 23:21:34 -07:00
Paulus Schoutsen 7cff107c17 Update frontend 2016-07-16 02:15:46 -07:00
Paulus Schoutsen e38b7d97d2 Update frontend 2016-07-13 23:05:40 -07:00
Paulus Schoutsen 8984a6b161 update frontend 2016-07-13 19:11:33 -07:00
Paulus Schoutsen 49b595e32e Update frontend 2016-07-13 19:05:25 -07:00
Paulus Schoutsen af736a3e71 Update frontend (temp map solution) 2016-07-13 08:32:13 -07:00
Paulus Schoutsen 8fcfb9136c Update frontend 2016-07-12 09:16:21 -07:00
Paulus Schoutsen 6d60287455 Update frontend 2016-07-12 00:10:05 -07:00
Paulus Schoutsen 6cb91e66c8 Update frontend 2016-07-11 22:07:34 -07:00
Paulus Schoutsen 31b8e49ad2 Fix PyLint 1.6 issues (#2471) 2016-07-07 18:54:16 -07:00
Paulus Schoutsen c5b2df01d9 Update frontend 2016-07-04 10:40:43 -07:00
Paulus Schoutsen cbb897b2cf Update frontend 2016-06-24 22:34:55 -07:00
Antonio Párraga Navarro cbc0833360 Support for Sony Bravia TV (#2243)
* Added Sony Bravia support to HA

* Improvements to make it work on my poor raspberry 1

* Just a typo

* A few fixes in order to pass pylint

* - Remove noqa: was due to the 80 characters max per line restriction
- Move communication logic to a separate library at https://github.com/aparraga/braviarc.git
- Added dependency and adapt the code according to that

* A few improvements

* Just a typo in a comment

* Rebase from HM/dev

* Update requirements by executing the script/gen_requirements_all.py

* More isolation level for braviarc lib

* Remove unnecessary StringIO usage

* Revert submodule polymer commit

* Small refactorization and clean up of unused functions

* Executed script/gen_requirements_all.py

* Added a missing condition to ensure that a map is not null

* Fix missing parameter detected by pylint

* A few improvements, also added an empty line to avoid the lint error

* A typo
2016-06-19 22:35:26 -07:00
Paulus Schoutsen 314fa42298 Version bump to 0.22 2016-06-18 13:19:57 -07:00
Paulus Schoutsen 71157dbec9 Merge branch 'master' into dev
Conflicts:
	homeassistant/components/frontend/version.py
	homeassistant/components/frontend/www_static/core.js.gz
	homeassistant/components/frontend/www_static/frontend.html
	homeassistant/components/frontend/www_static/frontend.html.gz
	homeassistant/components/frontend/www_static/service_worker.js
	homeassistant/components/frontend/www_static/service_worker.js.gz
	homeassistant/const.py
2016-06-18 12:00:38 -07:00
Paulus Schoutsen 2036c44364 Hotfix 21 2 (#2302)
* Update frontend

Conflicts:
	homeassistant/components/frontend/version.py
	homeassistant/components/frontend/www_static/core.js.gz
	homeassistant/components/frontend/www_static/frontend.html
	homeassistant/components/frontend/www_static/frontend.html.gz
	homeassistant/components/frontend/www_static/home-assistant-polymer
	homeassistant/components/frontend/www_static/service_worker.js
	homeassistant/components/frontend/www_static/service_worker.js.gz

* Add a default OPTIONS handler for wsgi (#2301)

When a browser makes a CORS request, it often makes a 'preflight'
options request in order to make sure the resource is valid, and that
it has the right CORS access. This adds a default OPTIONS handler for
all views. If a view needs to customize the OPTIONS handler for some
reason, it's free to, but this way CORS will work.

* Version bump to 0.21.2
2016-06-14 19:54:09 -07:00
Paulus Schoutsen 65750f667b Update frontend 2016-06-14 18:39:44 -07:00
Paulus Schoutsen 9d7c9d1262 Update frontend 2016-06-13 20:11:01 -07:00
Paulus Schoutsen ab48010d14 Add 1024x1024 favicon 2016-06-13 00:04:54 -07:00
Paulus Schoutsen ebe4c39020 Merge branch '0-21-1' into dev
Conflicts:
	homeassistant/components/frontend/www_static/core.js.gz
	homeassistant/components/frontend/www_static/frontend.html.gz
	homeassistant/components/frontend/www_static/service_worker.js.gz
	homeassistant/const.py
	requirements_all.txt
	setup.py
2016-06-12 00:25:36 -07:00
Paulus Schoutsen 5c87883c86 Update frontend 2016-06-12 00:04:37 -07:00
Paulus Schoutsen 586f69ac95 Update frontend 2016-06-11 23:57:24 -07:00
Paulus Schoutsen 809e613148 Update frontend 2016-06-10 19:45:15 -07:00
Paulus Schoutsen e4fe8336cc Update frontend 2016-06-09 23:27:35 -07:00
Paulus Schoutsen 068e62623d Update frontend 2016-06-09 22:12:45 -07:00
Alex Harvey 076fdc3f8b Add a robots.txt (#2207) 2016-06-05 18:48:59 -04:00
Paulus Schoutsen 81f8764bb8 Update frontend 2016-06-01 23:47:31 -07:00
Fabian Affolter f9e53ca22f Add windows 10 tile (#2166) 2016-06-01 14:04:08 -07:00
Paulus Schoutsen 537a2a6ef6 Improve index.html template 2016-05-30 23:45:02 -07:00
Paulus Schoutsen 8494ac7cef Update frontend 2016-05-29 09:50:30 -07:00
Paulus Schoutsen 05b2559df8 Update frontend 2016-05-28 23:28:57 -07:00
Paulus Schoutsen 70b74da3eb Update frontend 2016-05-28 18:38:46 -07:00
Paulus Schoutsen 9e0b107991 Update frontend 2016-05-28 11:32:35 -07:00
Paulus Schoutsen bfdb51a558 Bugfixes for urls with dates 2016-05-28 10:37:22 -07:00
Paulus Schoutsen e10b00f341 Update frontend 2016-05-27 21:45:38 -07:00
Paulus Schoutsen cd87c40bbf Update frontend 2016-05-27 01:29:48 -07:00
Paulus Schoutsen d02bc3deaa Update frontend gzip 2016-05-26 23:08:15 -07:00
Paulus Schoutsen 4cecc626f4 manifest.json: remove trailing commas 2016-05-23 22:45:35 -07:00
Paulus Schoutsen ec4fe7e6e6 update frontend gz 2016-05-21 16:00:59 -07:00
Paulus Schoutsen 9c5e7a9584 Add gzip for static resources 2016-05-21 15:01:35 -07:00
Paulus Schoutsen 9aa9e57890 Cleanup 2016-05-21 15:01:35 -07:00
Paulus Schoutsen 585fbb1c02 Cache files in static folder for a year 2016-05-21 15:01:34 -07:00
Paulus Schoutsen e4b697b1ed Generate gzip for frontend/mdi 2016-05-21 15:01:34 -07:00
Paulus Schoutsen de5533e3c2 Fix auth frontend 2016-05-21 15:01:34 -07:00
Paulus Schoutsen 1096232e17 More WIP 2016-05-21 15:01:34 -07:00
Paulus Schoutsen 15e329a588 Tons of fixes - WIP 2016-05-21 15:01:33 -07:00
Paulus Schoutsen 768c98d359 Fix import issues 2016-05-21 15:01:02 -07:00
Josh Wright d0320a9099 WIP: Add WSGI stack
This is a fair chunk of the way towards adding a WSGI compatible stack
for Home Assistant. The majot missing piece is auth/sessions. I was
undecided on implementing the current auth mechanism, or adding a new
mechanism (likely based on Werkzeug's signed cookies).

Plenty of TODOs...
2016-05-21 15:01:01 -07:00
Paulus Schoutsen ab60b32326 Update frontend 2016-05-21 14:06:07 -07:00
Paulus Schoutsen 0a79a5e964 Update frontend repo 2016-05-16 21:59:39 -07:00
Robbie Trencheny 8cb48615af Fitbit Sensor Take Deux (#2002)
* Fitbit Sensor

* Add configurator image
2016-05-07 12:46:45 -07:00
Paulus Schoutsen 8a16a7d943 Update frontend 2016-05-07 10:10:09 -07:00
Paulus Schoutsen 67f3fcc5cf Update frontend 2016-05-06 23:35:15 -07:00
Paulus Schoutsen 588a0cc947 Update frontend 2016-04-28 16:32:25 +02:00
Paulus Schoutsen cc42f2d8be Show error message frontend if can't find server (#1886) 2016-04-23 06:30:34 +02:00
Paulus Schoutsen 3e0f64e4f6 Update frontend 2016-04-20 18:13:25 -07:00
Paulus Schoutsen 4abbbf0f50 Merge remote-tracking branch 'origin/master' into dev
Conflicts:
	homeassistant/bootstrap.py
	homeassistant/components/frontend/version.py
	homeassistant/const.py
2016-04-19 22:53:26 -07:00
Paulus Schoutsen bdc39ff905 Update frontend 2016-04-19 21:39:44 -07:00
Dennis Karpienski 46274d4393 add media_player webos tv platform (#1853)
* added webos tv platform

* moved coverage entries
2016-04-19 08:53:58 -07:00
Paulus Schoutsen 1cfbeabaec Update frontend 2016-04-16 10:05:29 -07:00
Paulus Schoutsen e7520ef401 Update frontend + mdi 2016-04-14 22:57:41 -07:00
Paulus Schoutsen 1f96c4ad88 Update submodule 2016-04-12 23:57:07 -07:00
Paulus Schoutsen 5b8a2b00df Update frontend 2016-04-12 00:24:19 -07:00
Paulus Schoutsen 6d65b0bbd7 Update frontend 2016-04-10 15:18:44 -07:00
Paulus Schoutsen 3d98b8b5b3 Update frontend 2016-04-10 01:43:40 -07:00
Paulus Schoutsen 988dd2ca83 Update frontend 2016-04-10 01:33:01 -07:00
Paulus Schoutsen a41514ca50 0.17.1 (#1771)
* We need to allow extra keys on top level componenet config

fixes #1756

* Add comment about location of hass (fixes #1723)

* Fix for MQTT config validation on the protocol field. (#1765)

* Update frontend with weblink fix

* Fix for light service validation. (#1770)

Incorrect validation tested if passed value was a list instead of
a member of the list.

* Accept group without entities in configuration. (#1768)

* Accept group without entities in configuration.

People seem to use these as placeholders for future expansion of their
home automation dreams, and we used to accept them.  We still have to
specify at least one of 'name', 'view' or 'icon' so that the group is
parsed as a dictionary.

* Also accept empty entities: key in a group.

* Additional fix for empty entities value in a group config.

* Version bump to 0.17.1
2016-04-09 09:55:52 -07:00
Paulus Schoutsen 982f8f41ae Update frontend with weblink fix 2016-04-09 09:09:17 -07:00
Paulus Schoutsen db3f848905 Correct frontend version 2016-04-08 21:32:18 -07:00
Paulus Schoutsen 2ec9cc15f4 Build frontend 2016-04-08 21:28:59 -07:00
Paulus Schoutsen 3dc874dcf5 Update frontend (embed Roboto) 2016-04-08 00:15:02 -07:00
Paulus Schoutsen deffbeb922 Update frontend 2016-04-01 00:37:30 -07:00
Paulus Schoutsen 69fd927656 Update frontend 2016-03-28 00:15:26 -07:00
Paulus Schoutsen 7cb69ae9d9 Make sure we always sent content-length header 2016-03-27 12:15:41 -07:00
Paulus Schoutsen 5085e337e5 Update frontend 2016-03-24 00:48:21 -07:00
Paulus Schoutsen d28116f2bf Update frontend 2016-03-14 23:55:52 -07:00
Paulus Schoutsen 2a75c6fcf6 Update frontend build scripts for pep257 2016-03-12 10:52:48 -08:00
Paulus Schoutsen 159e287959 Update frontend 2016-03-12 10:42:07 -08:00
Fabian Affolter f22a40c3e8 Fix PEP257 issues 2016-03-09 11:15:04 +01:00
Paulus Schoutsen 2db873322d Update frontend 2016-03-07 15:17:51 -08:00
Paulus Schoutsen e92c77a113 Update frontend 2016-02-28 21:39:42 -08:00
Paulus Schoutsen 72940da874 Update frontend 2016-02-28 00:42:10 -08:00
Paulus Schoutsen 9e4ddc405d Update frontend 2016-02-27 14:34:52 -08:00
Paulus Schoutsen 7a0c99a1d5 Update frontend 2016-02-21 23:14:36 -08:00
Paulus Schoutsen 7f81122af6 Update frontend with latest version 2016-02-20 20:46:40 -08:00
Paulus Schoutsen f4e0f1d895 Update frontend 2016-02-20 00:11:07 -08:00
Paulus Schoutsen ab9ac80ee0 Update frontend with new camera UI 2016-02-16 23:52:26 -08:00
Paulus Schoutsen bca3207e0c Update frontend with assumed_state and delete state support 2016-02-15 01:02:15 -08:00
Paulus Schoutsen cafa4043b3 Move bootstrap endpoint from api to frontend 2016-02-14 00:04:08 -08:00
Paulus Schoutsen ff6cb2b452 Update frontend icons + proximity icon 2016-02-11 22:21:06 -08:00
Paulus Schoutsen a3ec7998b1 Update frontend with garage door support 2016-02-11 21:55:50 -08:00
Paulus Schoutsen b350f22a77 Update frontend to fix color picker 2016-02-10 22:18:08 -08:00
Paulus Schoutsen 23c5159f6c Update frontend to fix map CSS 2016-02-08 21:58:41 -08:00
Paulus Schoutsen d49fae86e4 Update frontend with entity picture fix 2016-02-07 11:33:01 -08:00
Paulus Schoutsen fb6aded2e1 Update frontend with new dependencies 2016-02-07 00:15:09 -08:00
Paulus Schoutsen 987be65d55 Update frontend to support default_view 2016-02-06 23:01:44 -08:00
Paulus Schoutsen 681b84e1bd Update frontend with FF url-sync fix 2016-02-06 22:07:30 -08:00
Paulus Schoutsen 41919e7339 Update frontend for input_select 2016-01-31 13:39:50 -08:00
Paulus Schoutsen c95c3d9198 Update frontend with weblink support 2016-01-31 12:00:45 -08:00
Paulus Schoutsen 4c056db3bb Fix Chrome url sync 2016-01-25 23:56:43 -08:00
Paulus Schoutsen 4233c0bc66 Update frontend with view url sync 2016-01-25 22:47:13 -08:00
Paulus Schoutsen 5c3ad5d4c0 Update frontend 2016-01-25 17:57:33 -08:00
Paulus Schoutsen 6c91831baa Hide groups when they are views or auto defined 2016-01-24 23:45:06 -08:00
Paulus Schoutsen f6c53896e3 Allow groups to be used as views 2016-01-24 22:54:45 -08:00
Paulus Schoutsen 6bbbbd9e17 Update mdi icons 2016-01-21 23:07:43 -08:00
Paulus Schoutsen 5ee17ffc58 Update frontend 2016-01-14 23:47:55 -08:00
Paulus Schoutsen 1dd99a6d5d Update frontend 2016-01-14 22:02:02 -08:00
Paulus Schoutsen bdd6bb7918 Update frontend 2016-01-13 23:51:29 -08:00
Ryan Kraus a0ddda4bc6 Updated frontend to newest commit 2016-01-12 22:15:23 -08:00
Paulus Schoutsen 08aabd18ad New version frontend 2016-01-03 11:44:26 -08:00
Paulus Schoutsen 80d3552960 Add template editor 2015-12-17 23:33:09 -08:00
Paulus Schoutsen a35dcf860e Update frontend with layout bugfix 2015-12-14 23:53:32 -08:00
Paulus Schoutsen df24a1bfa7 Update frontend (babel 6) 2015-12-13 23:59:40 -08:00
Paulus Schoutsen 3faa1a4393 Fix lint issues 2015-12-13 13:47:05 -08:00
Paulus Schoutsen f93d6a1a11 Fix local dir config path 2015-12-13 13:40:42 -08:00
Fabian Affolter 48593c6a68 Add docstrings 2015-12-09 08:24:12 +01:00
Paulus Schoutsen 9e41c495fc Update SW: Fix caching bug 2015-12-08 09:10:06 -08:00
Paulus Schoutsen fe485cc27d Initial service worker support 2015-12-07 23:43:28 -08:00
Paulus Schoutsen e1990e07c7 Conditionally load webcomponents polyfill 2015-12-07 20:12:07 -08:00
Paulus Schoutsen 48c3bbd5ac Update version frontend 2015-12-06 21:11:17 -08:00
Paulus Schoutsen d9b8ab8851 Update frontend 2015-12-06 11:34:53 -08:00
Paulus Schoutsen 1cb4d40bbb Update frontend 2015-12-06 10:00:10 -08:00
Paulus Schoutsen 705e3e4fbb Update material design icons 2015-12-05 13:20:00 -08:00
Paulus Schoutsen eefa62748b Update frontend 2015-12-05 01:12:58 -08:00
Paulus Schoutsen 48a424e86f Frontend upgrade 2015-11-30 00:48:58 -08:00
Paulus Schoutsen 5b4f607da1 Upgrade frontend with lock support 2015-11-29 22:49:54 -08:00
Paulus Schoutsen 286299c4c9 update frontend 2015-11-28 22:19:34 -08:00
Paulus Schoutsen f76edf0ed9 Tweak manifest and frontend index 2015-11-28 22:15:11 -08:00
Paulus Schoutsen e67732b4f8 Remove no longer needed image 2015-11-28 19:12:42 -08:00
Paulus Schoutsen 0df39b4df5 Remove no password set boolean 2015-11-28 18:32:15 -08:00
Paulus Schoutsen 64ebe8c6d0 Update frontend splash screen 2015-11-28 18:20:17 -08:00
Paulus Schoutsen 78cfed1fb0 Clean up HTTP sessions and allow log out 2015-11-28 17:18:35 -08:00
Paulus Schoutsen 1146d6e58d Allow thermostat temperatures with decimal numbers 2015-11-28 01:18:02 -08:00
Paulus Schoutsen bbfeba0fe4 Merge branch 'pr/635' into dev
Conflicts:
	requirements_all.txt
2015-11-28 00:50:18 -08:00
Paulus Schoutsen 3df6c584c0 Update frontend 2015-11-20 08:38:56 -08:00
nkgilley@gmail.com 18d0f4461f add config png to images dir. 2015-11-18 10:16:16 -05:00
Ryan Kraus 9b5385c565 Merge remote-tracking branch 'balloob/dev' into update_notify
Conflicts:
	homeassistant/components/frontend/version.py
	homeassistant/components/frontend/www_static/frontend.html
2015-11-15 17:00:35 -05:00
Ryan Kraus 7dacf01baa Updating fronted to latest version. 2015-11-15 16:56:33 -05:00
Paulus Schoutsen 88f3a5a50a Update to new version frontend 2015-11-15 00:51:12 -08:00
Paulus Schoutsen 963c4bb70e Update frontend with new card style 2015-11-10 00:56:56 -08:00
Paulus Schoutsen ec2e0cc77d Compile new version frontend 2015-11-10 00:27:41 -08:00
Paulus Schoutsen 994fc32f25 Upgrade frontend with about page 2015-11-10 00:25:19 -08:00
Paulus Schoutsen 27b001df2b Add dev info to frontend urls 2015-11-09 21:48:36 -08:00
Paulus Schoutsen 95320f39b3 Light: base color now in RGB instead of XY 2015-11-07 01:25:33 -08:00
Paulus Schoutsen cae71a73a1 Update frontend 2015-11-05 00:03:01 -08:00
Paulus Schoutsen be6dd20236 Update frontend with new icons 2015-11-03 00:20:59 -08:00
Paulus Schoutsen 77f4fc8c22 Frontend: Add materialdesignicons 2015-11-03 00:20:20 -08:00
Paulus Schoutsen c6b5a04312 Allow more static files to be fingerprinted 2015-11-02 00:03:53 -08:00
Paulus Schoutsen 06c8c1b168 Update to latest version frontend 2015-10-25 23:12:10 -07:00
Paulus Schoutsen da259d75a2 Update frontend with imprpved charts 2015-10-25 19:01:51 -07:00
Paulus Schoutsen a2256f6c97 Update version frontend 2015-10-25 15:39:50 -07:00
Tom Duijf 884525df33 Basic discovery works, added plex logo for configurator. Missing configurator support for fields. Todo: config save on successful connect 2015-10-25 13:34:34 +00:00
Paulus Schoutsen 38e1cef30e Update frontend for style fix 2015-10-13 08:58:15 -07:00
Paulus Schoutsen 383efee470 Scene turn off for frontend 2015-10-12 23:40:09 -07:00
Paulus Schoutsen 90d4a2c0b8 Update frontend version 2015-10-11 20:10:32 -07:00
Paulus Schoutsen 3a3b8bbb45 Fix packaging issues 2015-10-10 10:33:09 -07:00
Tom Duijf 5322789c14 Ability to store icons/pictures in config_dir/www for e.g. device_tracker pictures 2015-10-08 14:10:33 +00:00
Paulus Schoutsen c1899609a4 Merge branch 'pr/483' into dev
Conflicts:
	.coveragerc
2015-10-08 00:28:52 -07:00
Paulus Schoutsen d4d8c9ae65 Update frontend version 2015-10-04 01:40:38 -07:00
Paulus Schoutsen 9bdfa89b7c More robust geofence checking 2015-10-02 08:16:53 -07:00
Paulus Schoutsen 1dc9bfdf73 Update config zones 2015-09-29 23:08:37 -07:00
Paulus Schoutsen 5ad27d8cdb Add support for zones to Home Assistant 2015-09-28 23:13:13 -07:00
Paulus Schoutsen 755234369d New frontend build 2015-09-27 22:05:03 -07:00
Paulus Schoutsen 4e3bd5f2a9 Add service descriptions 2015-09-26 23:17:04 -07:00
Paulus Schoutsen 74a0e47ba6 Update frontend with badge fixes 2015-09-25 07:44:58 -07:00
Paulus Schoutsen d660d2b3dc Update frontend (group toggle updates) 2015-09-24 09:04:22 -07:00
Paulus Schoutsen 5a562f3db8 Update frontend 2015-09-23 23:32:41 -07:00
Paulus Schoutsen 20bf9f7ea1 Update frontend with group toggle 2015-09-23 23:20:20 -07:00
Paulus Schoutsen 4b6878f91c Restrict data from stream API 2015-09-23 21:35:23 -07:00
Paulus Schoutsen 3158db9553 Update tile provider 2015-09-21 23:19:42 -07:00
Paulus Schoutsen 7e511bcacf Fix iPhone map issues 2015-09-21 22:23:17 -07:00
Paulus Schoutsen 27bbfbae62 Fix compilation issue frontend 2015-09-21 00:42:23 -07:00
Paulus Schoutsen acddae3747 Initial support for maps in frontend 2015-09-20 23:14:58 -07:00
Paulus Schoutsen 46f6653183 New version frontend 2015-09-19 21:16:47 -07:00
Paulus Schoutsen ec1d5e617e Fix CI 2015-09-19 12:29:23 -07:00
Paulus Schoutsen 3c3eadbef5 Update frontend with alarm ui 2015-09-16 08:59:42 -07:00
Paulus Schoutsen 046c5653cb Add latest version of polymer repo 2015-09-13 20:58:22 -07:00
Roy Hooper ce22f3c82d Implement unique_id to prevent duplicate devices 2015-09-13 16:53:31 -04:00
Paulus Schoutsen 96cfff192a Fix space after HA started in logbook 2015-09-13 01:21:30 -07:00
Paulus Schoutsen 067993c8ab Logbook reverse sorting 2015-09-13 01:12:05 -07:00
Paulus Schoutsen f9b17ab026 Device tracker rewrite 2015-09-09 23:37:15 -07:00
Paulus Schoutsen 053e2c2ebc Update frontend with latest changes 2015-08-31 08:40:03 -07:00
Paulus Schoutsen 98b0367249 Upgrade frontend 2015-08-30 17:54:18 -07:00
Paulus Schoutsen 1958dfd0c1 Bugfix release frontend 2015-08-30 15:45:26 -07:00
Paulus Schoutsen a8b932223f Prevent init screen from shifting 2015-08-30 15:08:03 -07:00
Paulus Schoutsen fcee2c6d33 Remove unused file 2015-08-29 23:02:14 -07:00
Paulus Schoutsen 5aa8814a67 Merge pull request #289 from rmkraus/pip_updates
Update dependency installs and prepare for pip deployment
2015-08-29 22:11:20 -07:00
Paulus Schoutsen 7343e33063 Some more frontend bug fixes 2015-08-29 22:02:19 -07:00
Paulus Schoutsen b750457afa Bugfixes frontend 2015-08-29 20:11:27 -07:00
Paulus Schoutsen 75b3cc046d Update frontend with latest changes 2015-08-29 18:17:21 -07:00
Ryan Kraus 3839c3d0ef Created setup.py for standard installs. 2015-08-29 18:59:05 -04:00
Paulus Schoutsen 0a2652630f Frontend: Style loading page like login form 2015-08-29 12:01:37 -07:00
Paulus Schoutsen a98ecb6bcc Frontend: material design + introduction card 2015-08-27 01:06:41 -07:00
Paulus Schoutsen 1cb6077e36 Bugfixes for frontend 2015-08-26 08:39:29 -07:00
Paulus Schoutsen 05df84d04f Frontend bugfix url-sync 2015-08-23 22:45:00 -07:00
Paulus Schoutsen a419509893 More bugfixes frontend 2015-08-23 19:47:51 -07:00
Paulus Schoutsen 6338f387d2 Bugfixes for frontend 2015-08-23 17:20:23 -07:00
Paulus Schoutsen d69bb8db6e Frontend: fix sensor label and menu button 2015-08-23 10:20:54 -07:00
Paulus Schoutsen 33b007b7b4 Initial UI revamp 2015-08-23 01:33:19 -07:00
Michael Auchter 55c778ca0a add missing docstring 2015-08-10 00:30:47 +00:00
Paulus Schoutsen ac14698ab9 Updated version of frontend 2015-08-07 22:02:30 -07:00
Paulus Schoutsen ac19ac8b83 Update frontend dependencies 2015-08-05 21:30:58 -07:00
Paulus Schoutsen 445aaeb700 New compiled version of frontend 2015-07-24 03:28:21 -07:00
Paulus Schoutsen a3906242e9 Make life of Windows users a bit better 2015-07-19 18:32:35 -07:00
Paulus Schoutsen f50a6fc24c Update to latest Home Assistant Polymer 2015-07-17 23:38:25 -07:00
Paulus Schoutsen d3a6190044 Update frontend to latest version 2015-07-12 22:58:35 -07:00
Paulus Schoutsen 0bf45653e3 Upgrade to new version frontend 2015-07-12 21:08:39 -07:00
Paulus Schoutsen c861622748 Extract frontend code into own repository 2015-07-12 20:43:07 -07:00
Paulus Schoutsen 27850ef5df Frontend: hide frontend specific attributes from default more info content 2015-07-11 12:28:11 -07:00
Paulus Schoutsen c4a4aceeeb Frontend: Minor UI tweaks for Camera 2015-07-11 11:55:25 -07:00
Paulus Schoutsen ef370034b6 New frontend build 2015-07-11 01:56:58 -07:00
jamespcole 9a63f34129 Rebuilt with updated bower components 2015-07-10 19:57:30 +10:00
jamespcole 0ca836d7ed Another frontend rebuild 2015-07-10 19:42:22 +10:00
jamespcole a85b47805f rebuilt frontend with camera component changes 2015-07-10 18:44:00 +10:00
jamespcole 3440c54ab7 Merged in upstream changes 2015-07-10 18:14:03 +10:00
jamespcole c231a349c7 Updates from pull request feedback 2015-07-10 18:03:46 +10:00
Paulus Schoutsen 5550c89a86 Another frontend color picker fix 2015-07-06 10:07:12 -07:00
Paulus Schoutsen 820fd55249 Frontend bugfix: hide color picker when light is off 2015-07-06 08:11:23 -07:00
Paulus Schoutsen 4d81953562 Frontend: clean up code 2015-07-06 00:30:36 -07:00
Paulus Schoutsen 56c5d28ede Frontend: disable selecting text in cards/sidebar/header
Fixes #200
2015-07-06 00:29:15 -07:00
Paulus Schoutsen 65a74f68d5 Frontend: migrate to Polymer-based color picker 2015-07-06 00:28:22 -07:00
Paulus Schoutsen 9cfefb64dd Rip out paper-menu because it is broken 2015-06-30 22:55:12 -07:00
Paulus Schoutsen d4e9f26983 Clear password from input when logging out 2015-06-30 22:54:52 -07:00
Paulus Schoutsen 5316762a64 Frontend: Improve sidebar reliability on touch devices 2015-06-28 23:25:59 -07:00
Paulus Schoutsen 7a7ede22ea Frontend: extract voice command status component 2015-06-28 20:10:35 -07:00
Paulus Schoutsen 5e79a8080b Frontend cleanup and bug fixes 2015-06-25 00:04:32 -07:00
Paulus Schoutsen 3f56b7e131 Frontend: oops, had some ES6 within Polymer 2015-06-24 14:12:28 -07:00
Paulus Schoutsen b7b91f27db Frontend: fix bug where title was not shown for states partial 2015-06-23 23:43:14 -07:00
Paulus Schoutsen ad15a14f5d Frontend: move hashchange/localstorage code into HA-JS 2015-06-23 23:22:32 -07:00
Paulus Schoutsen 580adf8820 Frontend: reactor sidebar into own file 2015-06-23 20:43:59 -07:00
Paulus Schoutsen 7ef0dec185 Update frontend to use NuclearJS 2015-06-22 00:25:56 -07:00
Paulus Schoutsen bc6def277e Another fix for auto closing more info dialogs 2015-06-16 23:11:42 -07:00
Paulus Schoutsen 8bb2ba2181 Bugfix for history that does not span 24h 2015-06-16 00:53:36 -07:00
Paulus Schoutsen f26ac070d5 History: Add support to fetch specific days 2015-06-16 00:08:57 -07:00
Paulus Schoutsen 3381fff6bd Frontend: logbook - allow changing displayed day 2015-06-15 00:24:40 -07:00
Paulus Schoutsen 0f2a50c62f Fix frontend bug that opens more info dialog after toggle tap 2015-06-13 09:52:03 -07:00
Paulus Schoutsen 58f4ab4e67 Bugfix frontend: show no state message when no states 2015-06-11 00:31:12 -07:00
Paulus Schoutsen cac1c0d415 Bugfix for media player supported media commands 2015-06-11 00:17:44 -07:00
Paulus Schoutsen 492ea478e7 Merge remote-tracking branch 'origin/dev' into refactor-media-player
Conflicts:
	homeassistant/components/frontend/version.py
2015-06-10 23:53:18 -07:00
Paulus Schoutsen 801eabe598 Bugfixes for media player more info dialog 2015-06-10 23:51:33 -07:00
Paulus Schoutsen ca373b5aa5 Frontend: Workaround for tap bug in paper-dialog 2015-06-09 20:53:50 -07:00
Paulus Schoutsen 6c1a309c40 Minor CSS fixes for frontend 2015-06-09 00:26:15 -07:00
Paulus Schoutsen 8e50f50a48 Merge branch 'dev' into refactor-media-player
Conflicts:
	homeassistant/components/frontend/version.py
2015-06-08 23:08:00 -07:00
Paulus Schoutsen 452b082c82 Update media player core 2015-06-08 22:49:32 -07:00
Paulus Schoutsen 0b52b8c470 Fix more info dialog opening on touch devices 2015-06-08 21:08:27 -07:00
jamespcole aaf0ca2105 Very simple IP Camera support 2015-06-05 22:51:29 +10:00
Paulus Schoutsen 7f788d6be1 Update media player more info 2015-06-02 23:36:37 -07:00
Paulus Schoutsen 8e6ccea085 Update media player state card 2015-06-02 22:58:10 -07:00
Paulus Schoutsen e1c880cb22 New frontend build 2015-06-02 22:41:44 -07:00
Paulus Schoutsen 7ba0b03e6c Frontend: do not open more info when tapping toggle 2015-06-02 22:38:57 -07:00
Paulus Schoutsen b1cdf48ca0 Frontend: fix state card content showing outside of card 2015-06-02 22:25:44 -07:00
Paulus Schoutsen a330f4c130 Update apple touch icon 2015-06-02 22:19:30 -07:00
Hans Bakker a3f2f7c039 remove console.log 2015-06-01 20:51:21 +02:00
Paulus Schoutsen 15c3e2f516 Volume muting fixes 2015-05-31 21:07:58 -07:00
Hans Bakker 21cf7ceb07 minor update to more info card 2015-06-01 00:51:17 +02:00
Hans Bakker 81245495ae Add volume/mute button instead of text label, depends on new pychromecast method. Also I made the power button the only accented button. 2015-05-31 22:27:59 +02:00
Paulus Schoutsen ed46a93848 Fixes for Chromecast volume
It was line 119 from cast.py that was driving me crazy
2015-05-31 11:37:54 -07:00
Hans Bakker b30bdbfc6a Initial commit for volume slider in media player more info card 2015-05-31 13:36:28 +02:00
Paulus Schoutsen afd99a0c6c Media Player and cast improvements 2015-05-31 00:38:14 -07:00
Paulus Schoutsen 678be46bb9 Add more info card for media player 2015-05-30 14:02:46 -07:00
Paulus Schoutsen 1e7e9a9e02 Add a state card for media player 2015-05-30 12:08:35 -07:00
Paulus Schoutsen 124d50e6d6 Polymer 1.0: Update to latest version 2015-05-29 20:26:07 -07:00
Paulus Schoutsen c91b2cc795 Polymer 1.0: Fix layout issue in logbook 2015-05-29 20:05:05 -07:00
Paulus Schoutsen a53265b76e Polymer 1.0: Fix listening bar in states partial 2015-05-29 17:57:52 -07:00
Paulus Schoutsen 24b575d21a Polymer 1.0: Update build script and add new build 2015-05-28 01:08:50 -07:00
Paulus Schoutsen 5367ac562c Polymer 1.0: Migrate to use paper-styles for font 2015-05-28 00:50:52 -07:00
Paulus Schoutsen d503ee94f5 Polymer 1.0: Clean up 2015-05-28 00:42:26 -07:00
Paulus Schoutsen 63114b988f Polymer 1.0: Fix more info dialog closing on toggling entity 2015-05-28 00:02:18 -07:00
Paulus Schoutsen 69630a53f7 Polymer 1.0: Fix dialog appearance on small screens 2015-05-27 23:51:17 -07:00
Paulus Schoutsen ce7e6d37ed Polymer 1.0: more info content style fixes 2015-05-27 23:43:00 -07:00
Paulus Schoutsen ab7536ffd7 Polymer 1.0: style fixes 2015-05-27 23:30:22 -07:00
Paulus Schoutsen 2ce090e4b3 Polymer 1.0: more info light - reposition post transition 2015-05-27 22:48:15 -07:00
Paulus Schoutsen 986b843e0d Polymer 1.0: Remove unused styles 2015-05-27 22:47:50 -07:00
Paulus Schoutsen 26837ae8d3 Polymer 1.0: Bugfix - menu button works again 2015-05-27 22:47:37 -07:00
Paulus Schoutsen 1cdd5db29f Polymer 1.0: Clean up state badge 2015-05-27 22:47:11 -07:00
Paulus Schoutsen cf7a1392ac Polymer 1.0: Use paper scroll header panel for partial states 2015-05-27 22:46:52 -07:00
Paulus Schoutsen b0fdd45205 Polymer 1.0: Move attribute classnames logic to more info elements 2015-05-27 22:04:38 -07:00
Paulus Schoutsen 57d5022e3d Polymer 1.0: dev tools - fire event button now works 2015-05-27 22:03:24 -07:00
Paulus Schoutsen a7f9a5c4ad Polymer 1.0: More info dialog bug fixes 2015-05-27 22:02:58 -07:00
Paulus Schoutsen 8b1d3c7658 Polymer 1.0 :-) 2015-05-27 22:02:36 -07:00
Paulus Schoutsen a8aa5b1447 Polymer .9: Convert more info contents 2015-05-27 00:44:47 -07:00
Paulus Schoutsen e5f0e57980 Polymer .9: Fix history in more info dialogs 2015-05-26 23:32:11 -07:00
Paulus Schoutsen eb0584d466 Polymer .9: Style fixes 2015-05-22 00:21:47 -07:00
Paulus Schoutsen 76cf0e445d Polymer .9: Style fixes 2015-05-21 22:47:17 -07:00
Paulus Schoutsen 451cde7918 Polymer .9: Some cleanup 2015-05-20 23:42:46 -07:00
Paulus Schoutsen 69ae1d3534 Polymer .9: More info dialog with default content 2015-05-20 23:41:54 -07:00
Paulus Schoutsen de243855c4 Polymer .9: Notifications 2015-05-20 22:41:58 -07:00
Paulus Schoutsen 5baf16ad6e Polymer .9: convert dev tools 2015-05-19 23:38:32 -07:00
Paulus Schoutsen 33122701b9 Polymer .9: Convert History 2015-05-18 23:49:48 -07:00
Paulus Schoutsen f517445d36 Polymer .9: Remove workaround in sidebar 2015-05-18 18:43:32 -07:00
Paulus Schoutsen 52895658e5 Polymer .9: convert logbook 2015-05-18 00:16:57 -07:00
Paulus Schoutsen c3645e463e Polymer .9: convert state cards 2015-05-17 23:09:25 -07:00
Paulus Schoutsen 4576a1d245 Polymer .9: show basic state cards 2015-05-17 22:08:42 -07:00
Paulus Schoutsen 313eb71b17 Polymer .9: sidebar 2015-05-17 13:31:48 -07:00
Paulus Schoutsen 8d6bbb8c1a Polymer .9: foundation + login form 2015-05-16 02:24:06 -07:00
Paulus Schoutsen 6b0e29ad55 Update git submodules 2015-05-13 00:14:50 -07:00
Paulus Schoutsen 5452221cd2 Frontend bugfixes 2015-05-01 22:54:59 -07:00
Paulus Schoutsen 916c30072b Update frontend dependencies and compile new version 2015-05-01 20:49:02 -07:00
Paulus Schoutsen 20bdc82cba Do not show history in more info if component not loaded 2015-05-01 06:14:38 -07:00
Paulus Schoutsen 10a5db7924 UTC bugfix for more-info-sun 2015-04-28 23:50:53 -07:00
Paulus Schoutsen 54904a1630 Make frontend UTC aware 2015-04-28 22:34:44 -07:00
Paulus Schoutsen 24bb89df23 Compiled new version of frontend 2015-04-24 08:52:37 -07:00
Ryan Kraus 2b4c75543a 1) Merged with mainline dev branch. 2) Removed assumption in homeassistant/__init__.py that states are visible if not specified. This assumption is intrinsic in the JavaScript. 3) Recompiled frontend to assist merge. 2015-04-22 21:04:52 -04:00
Ryan Kraus caed69d5ea Added state card hiding to the STATE view on the frontend. 2015-04-14 23:55:08 -04:00
Ryan Kraus c76644323f Updated the broken link to the apple-touch icon in the frontend. 2015-04-14 01:44:39 -04:00
jamespcole c75e145151 rebuild of the frontend 2015-04-11 19:02:44 +10:00
jamespcole a478ec6697 Removed interactivity from small view of line charts which was causing scrollbar issues on more-info card 2015-04-11 19:01:17 +10:00
jamespcole e65ad67b32 Fixed some alignment issues and added loading spinner 2015-04-07 22:21:13 +10:00
jamespcole 89527d3bb2 rebuilt frontend with line graph support 2015-04-06 18:26:47 +10:00
jamespcole 8151de1ae0 Added zoom options to line graphs 2015-04-06 18:15:13 +10:00
jamespcole 7d997f7699 updated the ha js 2015-04-06 15:40:26 +10:00
jamespcole cae2a11f7b removed unneeded loading messages 2015-04-06 15:22:52 +10:00
jamespcole b1f01506ce Added in some comments 2015-04-06 14:37:01 +10:00
jamespcole 264bc15091 Fixed the line charts 2015-04-05 02:11:27 +10:00
jamespcole b6e880ed73 Fixed the line charts 2015-04-05 02:03:16 +10:00
jamespcole 12d88c2c2a Added loading spinner to the history screen 2015-04-05 01:06:04 +11:00
jamespcole c14fa299e1 Improved the efficiency and accuracy of the line graphs 2015-04-05 00:49:52 +11:00
jamespcole a86c53236d refactored line chart to be more efficient 2015-04-04 17:55:30 +11:00
jamespcole 2576659923 refactored line graph code 2015-04-04 17:27:05 +11:00
jamespcole bc54d9777d refactored line graph code 2015-04-04 17:21:15 +11:00
jamespcole b50023ede1 refactored line graph code 2015-04-04 16:28:13 +11:00
jamespcole 9499a8297a Merge branch 'dev' into line-chart-dev
merging in the latest changes
2015-04-04 11:07:28 +11:00
jamespcole 24dbc1f3d9 merged with upstream 2015-04-04 08:55:40 +11:00
Paulus Schoutsen b0bf775da8 Compile new version frontend 2015-04-01 21:49:03 -07:00
Paulus Schoutsen 57b3e8018b Logbook bug fixes 2015-03-31 23:09:08 -07:00
Paulus Schoutsen 9fb634ed3a Fix type in CSS class name 2015-03-29 15:23:50 -07:00
Paulus Schoutsen 100081757c Add logbook to frontend 2015-03-29 14:50:41 -07:00
Paulus Schoutsen 522bbfb716 Expose to more info content if dialog is open 2015-03-28 13:41:07 -07:00
Paulus Schoutsen 58812b326c Move hass.local_api and hass.components to config object 2015-03-21 22:06:59 -07:00
jamespcole 60fbc51a2d added in line graph support for state history 2015-03-22 06:10:24 +11:00
Paulus Schoutsen 8ff1bcf242 Fix some Firefox style issues 2015-03-16 23:52:50 -07:00
Paulus Schoutsen 1245af356b Scene bugfixes and UI improvements 2015-03-16 23:32:18 -07:00
Paulus Schoutsen b0a09f01cc Minor frontend bugfixes 2015-03-16 22:20:35 -07:00
Paulus Schoutsen 19a43cea26 Add scene component 2015-03-15 23:36:42 -07:00
andythigpen 1b73e15ec7 Update the frontend. 2015-03-14 21:29:55 -05:00
andythigpen 0b751949ae Fix JS notification error on initialization.
The last notification is initially null resulting in an exception being
thrown on startup.
2015-03-14 21:29:55 -05:00
andythigpen d0f545c247 Fix always showing scroll bars on side menu. 2015-03-14 21:29:55 -05:00
andythigpen 046efe3acb Adds script component.
A script is composed of a sequence of actions (currently service calls)
that are executed in order.  Individual actions can also be delayed by a
given timedelta.
2015-03-14 21:29:55 -05:00
Paulus Schoutsen 284500ff21 Upgrade to latest home assistant js 2015-03-14 00:00:51 -07:00
Paulus Schoutsen 6242b856b4 Some bug fixes related to new Home Assistant JS 2015-03-11 00:21:18 -07:00
Paulus Schoutsen 020213e682 Upgrade to latest Home-Assistant-JS 2015-03-10 22:40:55 -07:00
Paulus Schoutsen c7ae0f5f90 Reposition speech-to-text progress 2015-03-10 22:40:50 -07:00
Paulus Schoutsen eaded9b67c Add support for voice commands 2015-03-10 00:20:52 -07:00
Paulus Schoutsen 90eb8aa82a Move icon imports to generic file 2015-03-10 00:09:08 -07:00
Paulus Schoutsen e32c2d2569 Deprecate process component 2015-03-08 23:52:56 -07:00
Paulus Schoutsen aa0c6ef7c2 Make remember option in login form not bold 2015-03-08 20:39:10 -07:00
Paulus Schoutsen 1b4ff986b0 Add remember login option 2015-03-05 21:37:44 -08:00
Paulus Schoutsen 4e6773969a Fix: Login form shows error message again 2015-03-05 20:43:40 -08:00
Paulus Schoutsen b04d6f94e6 Merge pull request #45 from balloob/tellstick-sensor-refactor
Refactor Tellstick sensors to be a sensor platform
2015-03-05 08:44:00 -08:00
Paulus Schoutsen a09c5d88db Update favicon.ico 2015-03-05 00:19:13 -08:00
Paulus Schoutsen be9d6b9422 Remove forced orientation from manifest.json 2015-03-04 09:23:14 -08:00
Paulus Schoutsen 84844c242b Refactor chromecast into media_player platform 2015-03-03 23:50:54 -08:00
Paulus Schoutsen fc3375508e Frontend: Remove tellstick_sensor domain icon 2015-03-03 22:20:48 -08:00
Paulus Schoutsen a90dcabe01 Higher quality favicon.ico 2015-03-03 21:49:20 -08:00
Paulus Schoutsen fa9f5073f6 Update logo 2015-03-03 21:15:21 -08:00
Paulus Schoutsen 9616a2292e Add manifest.json 2015-03-03 21:15:15 -08:00
Paulus Schoutsen bbe19cbbb0 Add more info card for thermostat. Fixes #28 2015-02-28 08:48:33 -08:00
Paulus Schoutsen f356723e20 Upgraded to Polymer 0.5.5 2015-02-27 18:53:22 -08:00
Paulus Schoutsen 24d9856ae6 More frontend code clean up 2015-02-20 00:23:09 -08:00
Paulus Schoutsen 89f59a758d Frontend: stream fires ping on connect
This is needed for Safari/Firefox to call onOpen
2015-02-19 23:31:06 -08:00
Paulus Schoutsen ff4c3f791c Clean up frontend 2015-02-19 23:08:58 -08:00
Paulus Schoutsen f46e0408b3 Add ping to streaming events API 2015-02-19 00:15:27 -08:00
Paulus Schoutsen fd77e0e31d Upgraded home-assistant-js in frontend 2015-02-17 00:57:20 -08:00
Paulus Schoutsen d81723c8fc Frontend: handle modals in separate component 2015-02-15 21:53:40 -08:00
Paulus Schoutsen b6a3524e9b Add a relative time component to frontend 2015-02-15 21:39:01 -08:00
Paulus Schoutsen 1d56181a8c Workaround Chrome Eventsource bug 2015-02-15 18:39:39 -08:00
Paulus Schoutsen 37a9dbf1d5 Upgrade home-assistant.js version 2015-02-15 16:44:48 -08:00
Paulus Schoutsen c8cbb8ebb5 More info dialog plays nice again with History 2015-02-14 12:19:58 -08:00
Paulus Schoutsen 4047bf0775 Make more info dialog more store dependent 2015-02-14 10:05:26 -08:00
Paulus Schoutsen faddb5d57e More frontend bugfixes 2015-02-14 01:06:51 -08:00
Paulus Schoutsen 3be8a1ad02 Notifications are now done via the new store 2015-02-14 00:11:46 -08:00
Paulus Schoutsen dcffd102cc Migrate more components to use mixin 2015-02-14 00:11:23 -08:00
Paulus Schoutsen 791ebff7ee Squash some frontend bugs 2015-02-13 22:50:49 -08:00
Paulus Schoutsen 846e11d6b8 Frontend streams events from HA 2015-02-13 18:59:42 -08:00
Paulus Schoutsen 3f26fc3b06 Move more HTTP stuff into constant file 2015-02-13 18:27:13 -08:00
Paulus Schoutsen 50bb4daeaa Added demo mode 2015-02-08 23:33:19 -08:00
Paulus Schoutsen 8c20e5137e Hide history view when history component not loaded 2015-02-07 22:16:19 -08:00
Paulus Schoutsen f8fc8c888f Fix some frontend bugs 2015-02-07 21:37:50 -08:00
Paulus Schoutsen 09bf64db42 Fix style issues 2015-02-07 15:54:58 -08:00
Paulus Schoutsen 33daf0a385 Move frontend specific js to webcomponents 2015-02-07 15:42:04 -08:00
Paulus Schoutsen e3643b1faf Get State History support from Store 2015-02-06 00:02:40 -08:00
Paulus Schoutsen 029379c092 JS Stade model renamed entity_id to entityId 2015-02-06 00:01:29 -08:00
Paulus Schoutsen 772df97bc1 Tweaks for the new drawer UI 2015-02-05 22:36:41 -08:00
Paulus Schoutsen ce7b8b5e08 Added a drawer to the UI 2015-02-05 08:53:52 -08:00
Paulus Schoutsen b31668fba9 Update to latest home-assistant-js 2015-02-03 23:35:28 -08:00
Paulus Schoutsen 115be859b6 Frontend now build on top of home-assistant-js 2015-02-03 23:16:53 -08:00
Paulus Schoutsen fbae2ef725 Add Google Timelines to UI 2015-02-01 18:00:30 -08:00
Paulus Schoutsen 3439f4bb93 Remove frontend dependencies from git repo 2015-02-01 17:55:22 -08:00
Paulus Schoutsen e2f51ef557 Default more info will show recent states 2015-01-31 20:07:04 -08:00
Paulus Schoutsen c75447bc66 Expose loaded components on the API 2015-01-31 19:08:50 -08:00
Paulus Schoutsen 3709840327 Merge branch 'dev' into component-recorder
Conflicts:
	homeassistant/components/http/__init__.py
2015-01-31 10:31:16 -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