Ryan Kraus
a0ddda4bc6
Updated frontend to newest commit
2016-01-12 22:15:23 -08:00
Ryan Kraus
57c0f96118
Renamed update_state to update in universal media player
...
Renamed update_state method in universal media player to update so that
it would be called by HA when the state was being published. Moved the
update_ha_state to a function inside of __init__. Updated the tests
accordingly.
2016-01-12 22:15:23 -08:00
Ryan Kraus
a84429538b
Fixed attribute configuration handling in universal media player
...
Forced all parsed attribute configurations to be of length 2. Removed
entity_id=None option from entity lookups. Explicitly passed entity
lookup information to _entity_lkp.
2016-01-12 22:15:23 -08:00
Ryan Kraus
07953fb7e3
Removed dependencies property from universal media player
...
The dependencies property was only being called once by the __init__
method so it was removed and the code was moved to the __init__ method.
The tests were updated to reflect this.
2016-01-12 22:15:23 -08:00
Ryan Kraus
12da6f531e
Removed property from universal media player
...
The active_child_state property was unnecessary as it was not being
referenced outside the class. This commit removes it and updates the
tests accordingly.
2016-01-12 22:15:22 -08:00
Ryan Kraus
769f5aafb7
Added should_poll = False to universal media player
2016-01-12 22:15:22 -08:00
Ryan Kraus
a1abab8ced
Set universal media player to force refresh when updating HA
2016-01-12 22:15:22 -08:00
Ryan Kraus
270a998e3c
Merged service calling method in universal media player
2016-01-12 22:15:22 -08:00
Ryan Kraus
d829497c3d
Changed universal media player to keep service attrs in dict
...
Revised universal media player to keep service data in a dictionary
rather than passing it around as magic parameters.
2016-01-12 22:15:22 -08:00
Ryan Kraus
a8d5b0e5ec
Made universal media player cache active player
...
Revised universal media player to cache the active player when updating
the state when any of the children change. Revised tests to accommodate
this change.
2016-01-12 22:15:22 -08:00
Ryan Kraus
85d732a45a
Streamlined child state lookups in universal media player
...
1) Removed children property because it was only being used by one
method.
2) Removed option to return state as object from _entity_lkp as it was
no longer needed.
3) Used hass.states.get to get entity state objects.
4) Revised test to remove children property.
2016-01-12 22:15:22 -08:00
Ryan Kraus
8f3e8d29f0
Renamed SUPPORT_VOLUME_STEP flag in media_player
...
1) Renamed SUPPORT_VOLUME_BUTTONS to SUPPORT_VOLUME_STEP
2) Removed unused imports from tests.
2016-01-12 22:15:22 -08:00
Ryan Kraus
ee4543d739
Using call_from_config in Universal Media Player
...
Changed universal media player to use the call_from_config helper to
call services specified in the configuration file. This was done to
copy what is done in the Alexa and Automation components.
2016-01-12 22:15:22 -08:00
Ryan Kraus
59456f20fb
Added tests to universal media player and fixed bug
...
1) Fixed universal media player to maintain specified child order when
checking for active child.
2) Added many tests to universal media player.
2016-01-12 22:15:22 -08:00
Ryan Kraus
4a1f609893
Lint fixes and faster updating to universal media player.
...
1) Many lint fixes.
2) Bound the Universal Media Player to its dependencies so that its
state will be updated when one of its dependencies is changed.
2016-01-12 22:15:22 -08:00
Ryan Kraus
36214c73ee
Better handling of entity lookups in Universal media player.
...
Allowed the lookup function in the Universal Media Player to return
either a state object or the actual state of an entity during lookup.
2016-01-12 22:15:21 -08:00
Ryan Kraus
20a1025a8c
Added active_child attribute to universal media players.
...
The entity of the first active child is now reported in the attributes
for a universal media player.
2016-01-12 22:15:21 -08:00
Ryan Kraus
ec85884d92
Added initial implementation of universal media player.
2016-01-12 22:15:21 -08:00
Paulus Schoutsen
22c01b956f
Merge pull request #888 from balloob/lint-fixes
...
Lint fixes
2016-01-12 22:00:48 -08:00
Paulus Schoutsen
9cdf84dacf
Update flake8 and pylint versions
2016-01-12 21:57:43 -08:00
Paulus Schoutsen
60f40800c4
Use mock HA for locative tests
2016-01-12 21:56:09 -08:00
Paulus Schoutsen
3b7b12bbd5
Make Flake8 happy
2016-01-12 21:53:27 -08:00
Paulus Schoutsen
9a1aad8e92
Merge pull request #882 from moonshot/mqtt-eventstream
...
Create mqtt eventstream component
2016-01-12 21:29:17 -08:00
Moonshot
6f398f59df
Fix filtering of EVENT_CALL_SERVICE and EVENT_SERVICE_EXECUTED events
2016-01-12 22:57:03 -05:00
Moonshot
8ace656657
Create mqtt eventstream component
2016-01-12 22:56:26 -05:00
hydreliox
a4481efe07
Code cleanup
2016-01-13 04:26:40 +01:00
hydreliox
dc31ddbef2
Extract 'modules' as a constant
2016-01-13 04:19:27 +01:00
hydreliox
0c2fe4c5f3
Remove temp unit logic
...
HA should convert unit automatically
2016-01-13 04:16:25 +01:00
hydreliox
03febb81d3
Extract 'secret_key' as a constant
2016-01-13 03:45:43 +01:00
hydreliox
6f1a25d8d6
Add a configuration validation
...
All parameters are required
2016-01-13 03:43:10 +01:00
hydreliox
f182f7dccd
Remove uncessary requirement check
...
HA already check the requirement before setup the platform
2016-01-13 03:29:17 +01:00
Fabian Affolter
31fcd230b1
Update docstrings
2016-01-12 11:30:12 +01:00
Paulus Schoutsen
1ad5cae98e
Merge pull request #884 from partofthething/zwave-alarm
...
Added z-wave alarm sensors to list of devices that can be auto-detected and used
2016-01-11 23:52:06 -08:00
ntouran
5af4864326
ZWave alarm sensor cleanup (pylint fixes)
2016-01-11 23:27:53 -08:00
Paulus Schoutsen
ea8d278f8f
Rename freesms to free_mobile
2016-01-11 21:05:32 -08:00
Paulus Schoutsen
88de9908ce
Merge branch 'pr/879' into dev
...
Conflicts:
requirements_all.txt
2016-01-11 21:03:52 -08:00
hydreliox
1bbecce5eb
Add requirements and coverage exception
2016-01-11 21:03:22 -08:00
ntouran
2495226c87
Merge remote-tracking branch 'origin/dev' into zwave-alarm
2016-01-11 20:48:54 -08:00
ntouran
c1aa1fb0e0
First attempt at adding Z-wave COMMAND_CLASS_ALARM
2016-01-11 20:46:45 -08:00
Paulus Schoutsen
a5b198e2b8
Merge pull request #771 from MartinHjelmare/mysensors-component-switch
...
Mysensors component switch
2016-01-11 19:04:35 -08:00
xifle
cd669239ae
Changed zwave node add/remove events to services
2016-01-11 22:39:28 +01:00
hydreliox
bc73a6829d
Code formatting
...
Correct pylint errors
2016-01-11 09:30:32 +01:00
hydreliox
542b640ef0
FreeMobile Notify
...
First Commit for FreeSMS platform
2016-01-11 09:25:26 +01:00
hydreliox
7823fb9788
Merge remote-tracking branch 'refs/remotes/balloob/dev' into dev
2016-01-11 08:40:07 +01:00
hydreliox
bcb42674fc
Corrections due to pylint tests
2016-01-11 06:57:31 +01:00
hydreliox
1f1a46a8bd
Remove unused library
...
Remove the library used for dev
2016-01-11 05:35:26 +01:00
hydreliox
7b999e6cd1
Convert Temperature output
...
Convert temperature from celcius to fahrenheit if the HA config need it
2016-01-11 05:29:32 +01:00
hydreliox
c97a25cc86
Add configuration verification and sensors type
...
Generate an error in the configuration name of a module or a queried
sensor type is not correct.
Add support for co2 pressure and noise sensors
2016-01-11 05:21:38 +01:00
Greg Dowling
cdf24ec205
Merge pull request #872 from balloob/vera-debugging
...
Vera updates
2016-01-10 17:34:49 +00:00
Paulus Schoutsen
579f4d4cca
Merge pull request #875 from xifle/dev
...
Owntracks transition events minor improvement
2016-01-10 09:16:27 -08:00