sander
fb449cbc82
first commit
2016-02-22 19:53:55 +01:00
Paulus Schoutsen
88dc7a08c4
Merge pull request #1346 from stefan-jonasson/add_for_to_conditions
...
Added the "for" param to the conditions as well
2016-02-22 07:49:35 -08:00
Paulus Schoutsen
7cc3b8d7b1
Merge pull request #1371 from davidedmundson/dev
...
Fix service documentation appearing for notifications
2016-02-22 07:37:08 -08:00
Paulus Schoutsen
09ff394abc
Merge pull request #1369 from t30/test-command_rollershutter
...
Added command_rollershutter component
2016-02-22 07:36:14 -08:00
Paulus Schoutsen
b294383f20
Merge pull request #1368 from Gerto/dev
...
Don't set Bitcoin wallet if not setup in configuration
2016-02-22 07:35:24 -08:00
Fabian Affolter
5bd0b5ab99
Update docstring
2016-02-22 14:43:12 +01:00
Fabian Affolter
7d9e882d52
Update docstrings to match PEP257
2016-02-22 14:42:11 +01:00
Daniel
1f842140ef
Fix issue #1301
2016-02-22 13:45:01 +01:00
David Edmundson
8d5a164346
Fix service documentation appearing for notifications
...
We want the descriptions for notify.notify regardless of the name of the
exact notify service being called.
2016-02-22 11:14:05 +00:00
Gert
cbe27d8f1a
Don't set wallet if not setup in configuration
...
Because of problems with the Wallet part of python blockchain library (see #1242 ) , the entire Bitcoin module isn't working currently.
This change does not fix those problems but at least makes the sensor work again for people who don't need Wallet-related functionality.
It also just seems better practice to not set a wallet and call "wallet.get_balance()" when not wallet is set in configuration.
2016-02-22 11:44:00 +01:00
t30
066b569cfe
Added command_rollershutter component
2016-02-22 10:43:29 +00:00
Fabian Affolter
fd3ea95b82
Add docstrings, fix typos, and update docsstring for PEP257
2016-02-22 10:11:46 +01:00
Stefan Jonasson
e4485dcf3d
Updated structure, added more tests
2016-02-22 09:40:27 +01:00
Paulus Schoutsen
7a0c99a1d5
Update frontend
2016-02-21 23:14:36 -08:00
Paulus Schoutsen
7c15f6a4b3
Merge pull request #1332 from jaharkes/wemo_leds
...
Wemo leds
2016-02-21 20:52:55 -08:00
Jan Harkes
afe564fb3f
Move WeMo discovery into a common component
2016-02-21 22:23:00 -05:00
Paulus Schoutsen
82e11e237e
Merge pull request #1268 from flyte/tcp-component-pr
...
Add generic TCP socket component
2016-02-21 19:21:20 -08:00
Jan Harkes
4dad40fffb
Add support for WeMo LED lights.
2016-02-21 21:57:53 -05:00
Jan Harkes
368ad93eb6
Only add discovered switches instead of any WeMo device.
2016-02-21 21:57:53 -05:00
Paulus Schoutsen
92be572374
Merge pull request #1351 from tpatja/zwave_binary_sensor
...
ZWave binary sensor support
2016-02-21 13:57:06 -08:00
Paulus Schoutsen
c77266c544
Merge pull request #1357 from w1ll1am23/update_wink_for_binary_switch_fix
...
Updated wink version for binary switch fix
2016-02-21 13:50:59 -08:00
Paulus Schoutsen
aa748e3e48
Merge pull request #1358 from andythigpen/script-improvements
...
Script improvements
2016-02-21 13:49:49 -08:00
Andrew Thigpen
7dd529356a
Add toggle support for scripts.
2016-02-21 11:22:38 -06:00
Paulus Schoutsen
070cee48a8
Merge pull request #1353 from balloob/assume-state
...
Add assumed_state to Group, MQTT Switch, MQTT Light
2016-02-21 09:19:54 -08:00
Andrew Thigpen
b961b5037f
Only turn on scripts that are not currently running.
...
Prevents an errant API call from advancing a currently executing delay
step before it should.
2016-02-21 11:11:35 -06:00
William Scanlon
3da554a198
Update wink version
2016-02-21 12:01:32 -05:00
Teemu Patja
d1a4dc77d1
Disable pylint warning
2016-02-21 10:01:03 +02:00
Paulus Schoutsen
ff9568ad26
Merge pull request #1348 from LinuxChristian/dev
...
Added support for d-link W215 smart plug
2016-02-20 23:49:57 -08:00
Christian Fredborg Braedstrup
2f66528595
Added support for d-link W215 smart plug
2016-02-21 08:34:07 +01:00
Paulus Schoutsen
7f81122af6
Update frontend with latest version
2016-02-20 20:46:40 -08:00
Paulus Schoutsen
1eae74be58
Add assumed_state to group
2016-02-20 19:11:02 -08:00
Paulus Schoutsen
443b39bccd
MQTT Switch to expose assumed_state if optimistic
2016-02-20 17:17:30 -08:00
Paulus Schoutsen
8f70630790
MQTT Light to expose assumed_state if optimistic
2016-02-20 17:17:22 -08:00
Teemu Patja
5053c807c0
ZWave binary sensor support
...
Treat ZWave binary sensors as binary_sensor components instead of
regular sensors.
2016-02-20 23:57:59 +02:00
Stefan Jonasson
f3c95adaca
Fixed now => utcnow
...
Fixed added time patch to unittest
2016-02-20 22:15:49 +01:00
Paulus Schoutsen
6532eae3d5
Merge pull request #1343 from balloob/random-cleanup
...
Random cleanup
2016-02-20 12:16:54 -08:00
Stefan Jonasson
ff6e071dff
added the for param to the conditions as well
2016-02-20 12:52:42 +01:00
Paulus Schoutsen
22b47ce9c6
Merge pull request #1314 from balloob/fix_own_tracks_mobile_beacon
...
Fix own tracks mobile beacon race condition
2016-02-20 00:27:07 -08:00
Paulus Schoutsen
f4e0f1d895
Update frontend
2016-02-20 00:11:07 -08:00
Paulus Schoutsen
8a1fa82205
Add sensor class to bloomsky binary_sensor
2016-02-20 00:08:02 -08:00
Paulus Schoutsen
fb9d8c79b5
Bloomsky main component to load its platforms
2016-02-19 23:22:23 -08:00
Paulus Schoutsen
f5f52010d1
Extract bloomsky binary_sensor
2016-02-19 23:21:56 -08:00
Paulus Schoutsen
4c538c718b
Clean up binary_sensor
2016-02-19 22:23:25 -08:00
Paulus Schoutsen
63a27f1943
Add discover helper method to discovery component
2016-02-19 22:23:01 -08:00
MartinHjelmare
08aaea5444
Add mysensors binary sensor
...
* Add mysensors binary sensor.
* Add discovery platforms to binary_sensor base component.
* Replace device_state_attributes with state_attributes in
binary_sensor base class.
* Fix docstrings.
* Add discovery of binary sensor to mysensors component.
* Add child.type as argument to mysensors device_class.
* Move binary sensor types from sensor to binary_sensor module.
* Fix binary_sensor attribute tests. Use state_attributes instead of
device_state_attributes.
2016-02-20 04:28:17 +01:00
Paulus Schoutsen
2d0721abe8
Merge pull request #1338 from kk7ds/unifi-tracker
...
Add Ubiquiti Unifi device tracker
2016-02-19 18:41:01 -08:00
MartinHjelmare
52131a3335
Fix temperature unit
...
* Specify temperature unit according to gateway setting, to avoid
converting to Fahrenheit when already Fahrenheit.
* Fix docstrings in wrapper class.
2016-02-20 02:11:15 +01:00
Dan Smith
27f456ca70
Add Ubiquiti Unifi device tracker
...
Ubiquiti's Unifi WAP infrastructure has a central controller (like mfi and uvc)
that can be queried for client status. This adds a device_tracker module that
can report the state of any client connected to the controller.
2016-02-19 15:24:00 -08:00
Fabian Affolter
f9385eb87a
UPdate docstring
2016-02-19 23:58:45 +01:00
Paulus Schoutsen
1c8c16f85f
Merge pull request #1220 from stefan-jonasson/command_line.py
...
New notification platform "command line"
2016-02-19 14:15:40 -08:00
Flyte
4e6b755b26
Add tests for TCP component.
2016-02-19 17:41:51 +00:00
Greg Dowling
d019b7f6b8
Merge pull request #1334 from balloob/add_for_to_automation
...
Add `for` to state automation.
2016-02-19 16:58:04 +00:00
pavoni
a75833cf2b
Remove debug.
2016-02-19 16:41:05 +00:00
Paulus Schoutsen
f20ea41538
Merge pull request #1322 from w1ll1am23/nest_weather_component
...
Added support for nest current weather conditions
2016-02-19 08:24:07 -08:00
pavoni
85bf9a49ea
Remove traces.
2016-02-19 15:39:44 +00:00
pavoni
9e48b88154
Add `for` delay to state automation.
2016-02-19 15:28:17 +00:00
William Scanlon
14afd1e409
Removed debugging logging
2016-02-19 08:26:56 -05:00
Paulus Schoutsen
5f3cb58d8e
Remove simple_alarm component
2016-02-18 22:20:59 -08:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
233a2a2878
Merge pull request #1308 from kk7ds/binary-sensor-class
...
Add binary sensor class
2016-02-18 21:09:17 -08:00
Paulus Schoutsen
e677fc876b
Merge pull request #1319 from shaftoe/sonosconfig
...
Fix media_player/sonos configuration mismatch
2016-02-18 20:33:39 -08:00
Paulus Schoutsen
560173e13b
Merge pull request #1327 from justyns/zwaveremote
...
Return early from setup_platform when zwave NETWORK is not configured
2016-02-18 20:27:43 -08:00
Dan Smith
d57df2ddde
Update the sensor classes in the demo binary_sensor
...
This updates the two demo sensors we have so they show contextual icons
in the UI.
2016-02-18 17:59:58 -08:00
Justyn Shull
9a740bff2a
Return early from setup_platform when zwave NETWORK is not configured
2016-02-18 18:12:00 -06:00
Paulus Schoutsen
30e1569b21
Fix bloomsky component importing
2016-02-18 13:10:25 -08:00
William Scanlon
d7c4b50e3e
Added support for nest current weather conditions
2016-02-18 16:04:32 -05:00
Dan Smith
d93883f153
Make nx584 expose zone types (sensor classes)
...
With this, plus https://github.com/balloob/home-assistant-polymer/pull/32 ,
I can have nx584 sensors use a proper icon in the UI.
2016-02-18 12:20:35 -08:00
Dan Smith
2d932f89fc
Add sensor_class to binary_sensor
...
This adds a 'sensor_class' property and attribute, which should be either
None or one of several defined SENSOR_CLASSES to indicate contextual
information about what the sensor is measuring.
2016-02-18 12:20:35 -08:00
pavoni
98d18c3060
Bump pywemo version.
2016-02-18 19:32:30 +00:00
Alexander Fortin
6578928e3c
Fix media_player/sonos configuration mismatch
...
* From configuration.yaml is easy to provide iterable elements like lists,
this adds the possibility to provide a list of Sonos hosts using a yaml
and still supports the comma separated string version
* Remove superfluous host reassignment
2016-02-18 18:57:50 +01:00
Flyte
c1d39a2fce
Remove unnecessary top-level TCP component. Fix order of inheritance on TCP BinarySensor.
2016-02-18 17:25:02 +00:00
pavoni
9f7ce23e80
Fix suspect race condition in leave region.
...
Add safely check for double beacon entry. Remove battery for beacons.
Disable lint warning.
2016-02-18 12:52:40 +00:00
Paulus Schoutsen
8eb396a435
Merge pull request #1309 from kk7ds/graphite-debug
...
More graphite hardening work
2016-02-17 20:30:04 -08:00
MartinHjelmare
9ac53b502f
Clean up and fix
...
* Add check if V_LIGHT is in values before sending message in
_turn_on_light.
* Replace super calls with self.
* Remove not needed init method in child classes.
* Remove turn_on method in parent class and add update_ha_state
to _turn_on_light, _turn_on_dimmer and _turn_on_rgb_or_w.
2016-02-18 02:04:06 +01:00
MartinHjelmare
6e8c79d531
Change refactor structure
...
* Make a flatter one level inheritance, with MySensorsLight as parent
with four children, one per light type.
* Break out helper methods. One per plain light, dimmer and RGB/RGBW
children and per update, turn_on and turn_off, nine in total. Put
these in the parent.
* Call the helper methods as needed from the child methods update,
turn_on and turn_off.
* Change name of MySensorsLightLight to MySensorsLightPlain.
* Fix module docstrings according to pep257.
* Change name of color util method from rgb_hex_to_list to
rgb_hex_to_rgb_list.
* Add unit tests for rgb_hex_to_rgb_list.
2016-02-18 02:04:06 +01:00
MartinHjelmare
03423cc3a9
Refactor mysensors light
...
* Add a light entity class per V_LIGHT, V_DIMMER, V_RGB and V_RGBW.
Make these classes inherit each other up to MySensorsLight class.
* Map the entity classes to their S_TYPE in a dict.
* Check if an entity class map or just an entity class have been passed
to pf_callback_factory before using the entity_class variable in
homeassistant/components/mysensors.py.
* Add rgb_hex_to_list function in homeassistant/util/color.py.
2016-02-18 02:04:06 +01:00
Dan Smith
cd6780baf4
More graphite hardening work
...
This adds verbose debugging which can be turned on to figure out what is
going on. It also adds a broad exception handler in the worker thread
to avoid dying. If you're running this such that stderr doesn't go to a
log, it can be easy to miss the thread's death.
I wrote all this to try to diagnose #1283 , which seems to maybe have
healed itself. But since I have it, I figure we might as well keep it
in case we have trouble in the future.
2016-02-17 15:11:24 -08:00
Paulus Schoutsen
bb37708716
Merge pull request #1296 from kk7ds/honeywell-no-fan
...
Fix #1287 for honeywell US systems with no fan
2016-02-17 12:18:10 -08:00
Per Sandström
99ac4524b9
update vsure to 0.5.1
2016-02-17 19:28:26 +01:00
Flyte
348b7abe7d
Change TCP component to use Jinja2 instead of regex
2016-02-17 18:12:36 +00:00
Flyte
cf93644d54
Move generic tcp sensor entity to specific sensor component
2016-02-17 17:26:53 +00:00
Dan Smith
96dde18ae3
Fix alarmdotcom requirement 0.0.7 removed
...
Looks like alarmdotcom just released 0.1.1 and deleted 0.0.7 which is
breaking our build.
2016-02-17 08:41:46 -08:00
Dan Smith
9aa4028718
Fix #1287 for honeywell US systems with no fan
...
This bumps the somecomfort requirement to 0.2.1 to pull in a change
that makes handling no-fan systems graceful. Adds a test that should
prove it gives us what we want.
If no fan, then fan is always idle and fanmode is None.
2016-02-17 08:16:02 -08:00
William Scanlon
b2366ce68e
Added optional parameter to lock and unlock methods
2016-02-17 05:50:36 -05:00
Paulus Schoutsen
ab9ac80ee0
Update frontend with new camera UI
2016-02-16 23:52:26 -08:00
Paulus Schoutsen
aea0598805
Clean up camera component
2016-02-16 23:52:05 -08:00
Dan Smith
b7c4370e2b
Merge pull request #1271 from kk7ds/nx584-sensors
...
Add nx584 as a sensor platform
2016-02-16 20:40:15 -08:00
Dan Smith
22865e5d96
Add nx584 as a sensor platform
...
This allows you to get every door, window, smoke, etc zone from your security
panel into HA. This uses the live eventing feature of pynx584, which means you
get instantaneous signaling into HA when a door opens or something happens,
which is handy for automating lights on when doors open after dark, etc.
Requires update to pynx584 0.2
2016-02-16 20:24:32 -08:00
Paulus Schoutsen
c66511e0cf
Merge pull request #1275 from balloob/rfxtrxSignalRep
...
Rfxtrx signal rep
2016-02-16 20:23:55 -08:00
Paulus Schoutsen
79dbd14568
Merge pull request #1280 from molobrakos/tellduslive
...
added assumed_state property + improved error handling
2016-02-16 13:51:14 -08:00
Paulus Schoutsen
5756cff8a4
Merge pull request #1281 from molobrakos/eliqonline
...
improve error handling
2016-02-16 11:24:36 -08:00
Erik
44a39636b1
improve error handling
2016-02-16 18:23:08 +01:00
Erik
307b2c629b
catch exception and log
2016-02-16 17:46:25 +01:00
Paulus Schoutsen
bbfa63ee79
Merge pull request #1269 from turbokongen/rfxtrx-newprotocols
...
Add assumed_state for rfxtrx switch and light.
2016-02-16 08:19:27 -08:00
Erik
008d65677b
add assumed state property
2016-02-16 17:18:49 +01:00
pavoni
9a6c99264e
Catch KeyError as well as ValueError when handling efergy errors.
2016-02-16 12:05:00 +00:00
infamy
16865b82d3
initial commit of the neurio_energy sensor
2016-02-15 15:54:07 -08:00
Daniel
aec269050f
Add signal repetition to rfxtrx
2016-02-15 19:52:39 +01:00
Daniel
b93ebe1936
Add signal repetition to rfxtrx
2016-02-15 19:45:33 +01:00
Daniel
0010cadd39
Add signal repetition to rfxtrx
2016-02-15 19:41:40 +01:00
John Arild Berentsen
a7ce9ba49e
CI fix
2016-02-15 19:09:53 +01:00
John Arild Berentsen
f429a6c4ff
Add assumed_state for rfxtrx switch and light.
2016-02-15 18:59:11 +01:00
Flyte
3d83eea5f7
Add tcp component.
2016-02-15 16:04:14 +00:00
Daniel
eacfac6fa8
Support on-off device in rfxtrx light
2016-02-15 10:10:29 +01:00
Daniel
0d45470ea6
Support on-off device in rfxtrx light
2016-02-15 10:05:47 +01:00
Paulus Schoutsen
bca3207e0c
Update frontend with assumed_state and delete state support
2016-02-15 01:02:15 -08:00
Paulus Schoutsen
de7a14074e
Merge pull request #1247 from balloob/feature/entity-assumed-state
...
Add assumed_state property to entity
2016-02-14 23:59:35 -08:00
Dan Smith
3610f40a6a
Handle EVENT_STATE_CHANGED with no new_state in graphite
...
I noticed some events that came in with new_state=None. Make graphite
defensive about this.
2016-02-14 15:57:03 -08:00
Dan Smith
366595fd90
Catch socket.gaierror in graphite driver
...
If you specify a name that can't be looked up in DNS, socket.connect()
throws socket.gaierror. We should catch and log that situation properly.
2016-02-14 15:44:11 -08:00
Stefan Jonasson
fa8857dfc5
Changed process communication to use stdin for the message because of security concerns.
2016-02-14 22:22:11 +01:00
Paulus Schoutsen
64430f26f3
Merge pull request #1257 from kk7ds/handle-uvc-errors-better
...
Misc UVC improvements
2016-02-14 12:27:25 -08:00
Paulus Schoutsen
dabb8d5bbc
Merge pull request #1246 from balloob/feature/remove-state-fire-event
...
Have remove state fire state_changed event
2016-02-14 10:33:59 -08:00
Paulus Schoutsen
aeb87b0245
Merge pull request #1248 from balloob/chore/reorg-frontend-api
...
Move bootstrap endpoint from api to frontend
2016-02-14 09:43:53 -08:00
Paulus Schoutsen
6be2ec7fea
Merge pull request #1249 from balloob/chore/remove-usage-attr_friendly_name
...
Remove usage of ATTR_FRIENDLY_NAME within components/platforms
2016-02-14 09:43:39 -08:00
Dan Smith
885b61a750
Implement brand and model for UVC cameras
2016-02-14 17:27:29 +00:00
Dan Smith
0ba7fb40a4
Improve UVC performance by not logging in on each image fetch
...
This makes the UVC camera_image() method not log into the camera on
every single image fetch, which reduces load on hass and the camera,
and lowers the latency to get an actual image fetched.
2016-02-14 17:27:29 +00:00
Dan Smith
263839a336
Handle connection errors talking to UVC cameras during image fetch
...
This requires uvcclient==0.6 which breaks out exceptions for us.
Fixes #1244
2016-02-14 17:27:26 +00:00
miniconfig
01df1f8458
Converted state.attributes to dict. Fixes Issue #1252
2016-02-14 10:47:46 -05:00
Paulus Schoutsen
b29f2f6d6f
Remove usage of ATTR_FRIENDLY_NAME within components/platforms
2016-02-14 00:21:20 -08:00
Paulus Schoutsen
cafa4043b3
Move bootstrap endpoint from api to frontend
2016-02-14 00:04:08 -08:00
Paulus Schoutsen
8bea5c06de
Add assumed_state property to entity
2016-02-13 23:42:11 -08:00
Paulus Schoutsen
06de73ff80
Allow removing a state via API + remote StateMachine
2016-02-13 23:00:38 -08:00
Dan Smith
0fbd947426
Test Honeywell Round thermostat
...
This includes two changes to the round code:
- Return True on setup success
- Break out the default away temp into a constant
2016-02-14 01:05:18 +00:00
Dan Smith
5921e65d83
Allow specifying location and/or thermostat for Honeywell US
...
This lets you optionally only add thermostats by location or
specific device id, instead of all the thermostats in your
account. This would be helpful if you have two devices in different
houses (i.e vacation home), etc.
2016-02-13 23:13:38 +00:00
Dan Smith
c51dd64bd8
Convert Honeywell platform to use somecomfort library
2016-02-13 23:13:33 +00:00
Paulus Schoutsen
bf0b453677
Merge branch 'hotfix/state-as-number' into dev
...
Conflicts:
homeassistant/const.py
tests/helpers/test_state.py
2016-02-13 08:32:06 -08:00
Paulus Schoutsen
77b141a355
Update Wink to 0.6
2016-02-13 08:17:38 -08:00
Fabian Affolter
34b91cf6ce
Remove config details (already covered in docs)
2016-02-13 09:38:56 +01:00
Fabian Affolter
9dc055e537
Add link to docs
2016-02-13 09:35:31 +01:00
Paulus Schoutsen
6d6cf886f3
Merge pull request #1222 from turbokongen/verisure-mouse
...
Support for Mousedetectors connected in Verisure systems
2016-02-13 00:22:34 -08:00
John Arild Berentsen
a29be5455c
Fix unit and wrong errorhandling
2016-02-13 09:05:18 +01:00
Paulus Schoutsen
938c9888a6
Merge pull request #918 from happyleavesaoc/snapcast
...
snapcast media player
2016-02-12 19:31:07 -08:00
Paulus Schoutsen
b91e4cfb4a
Merge pull request #1195 from persandstrom/kodi_thumbnails
...
kodi thumbnails
2016-02-12 19:03:22 -08:00
Paulus Schoutsen
7dd51034cd
Merge pull request #1213 from MartinHjelmare/mysensors-light
...
Add mysensors light platform
2016-02-12 19:01:41 -08:00
Paulus Schoutsen
2f60ff224f
Merge pull request #1223 from MartinHjelmare/update-mysensors-version
...
Update pymysensors version to 0.5
2016-02-12 18:55:06 -08:00
Paulus Schoutsen
fc3a37cba2
Merge pull request #1224 from MartinHjelmare/fix-mysensors-version-error
...
Fix error in update method for V_STATUS
2016-02-12 18:54:12 -08:00
happyleavesaoc
13b0beee31
snapcast
2016-02-12 18:35:32 -05:00
nkgilley@gmail.com
ba530e5a16
fix ecobee sensor unique id.
2016-02-12 17:24:00 -05:00
Per SandstrÃom
aafd36d2ce
change url to host
2016-02-12 21:19:27 +00:00
MartinHjelmare
0492f0abd0
Fix error in update method for V_STATUS
...
* Remove check against V_STATUS to avoid error when using version 1.4
of mysensors. V_LIGHT has the same integer value so V_STATUS is not
needed.
2016-02-12 22:05:31 +01:00
MartinHjelmare
940799d0da
Update pymysensors version to 0.5
2016-02-12 21:59:24 +01:00
John Arild Berentsen
c584b6b28d
Support for Mousedetectors connected in Verisure systems
2016-02-12 21:41:01 +01:00
Stefan Jonasson
5a03ddd7e0
Removed "" and changed the call to check_call to make it race the appropriate error
2016-02-12 19:31:28 +01:00
Paulus Schoutsen
75d3d25969
Merge pull request #1129 from nkgilley/speedtest
...
Speedtest.net component
2016-02-12 08:59:19 -08:00
nkgilley@gmail.com
7cb57583e2
fix line too long
2016-02-12 11:44:24 -05:00
nkgilley@gmail.com
3e3f5db2a5
use a windows & linux compatible regex
2016-02-12 11:30:55 -05:00
nkgilley@gmail.com
88fe28ea1b
add update service
2016-02-12 09:55:28 -05:00
Stefan Jonasson
9521dad263
Added a command line notification platform that could be used for all kind of custom notifications
2016-02-12 11:25:26 +01:00
Paulus Schoutsen
8857c48c17
Merge pull request #1206 from turbokongen/rfxtrx-newprotocols
...
Supporting electricity sensors with ELEC2/3 protocol from latest pyRFXtrx (0.4)
2016-02-11 23:30:40 -08:00
Paulus Schoutsen
3c582d1e3c
Merge pull request #1143 from balloob/rfxtrx
...
Rfxtrx
2016-02-11 23:30:34 -08:00
Fabian Affolter
19d12716ef
Update docstrings
2016-02-12 08:21:39 +01:00
Fabian Affolter
57446cfb08
Add link to docs
2016-02-12 07:55:20 +01: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
Dan Smith
61e2da8827
Add tests for influxdb and fix a bug
...
This adds tests for the influxdb component. It also fixes a bug,
where username and password are required, but not gracefully
handled if they're missing from config.
2016-02-12 05:34:13 +00:00
Paulus Schoutsen
7ba7747ce8
Merge pull request #1217 from jaharkes/nest_heating
...
Nest binary sensor fixes
2016-02-11 20:15:02 -08:00
Jan Harkes
b04ff7207c
Make sure Nest is setup before the binary sensors.
2016-02-11 21:28:08 -05:00
Jan Harkes
3f7ff2b1d4
The Nest binary sensor can also track when heating system is running.
2016-02-11 21:24:51 -05:00
Dan Smith
484b7b64d7
Re-allow splunk to report string states
...
Splunk *can* take string states, so un-fix that wrong fix.
2016-02-12 02:20:15 +00:00
Paulus Schoutsen
7241762bcc
Merge pull request #1209 from kk7ds/abstract-numeric-state
...
Abstract numeric state
2016-02-11 18:16:57 -08:00
Dan Smith
0a904acd4d
Add some tests for splunk
...
This also fixes issue #1214 , and I think another bug. The splunk
code will just take the value of state.state and try to serialize
it to json if it can't make it into a number. It did this before
I generalized that code. Since json.dumps() will fail on most anything
complicated, I think the right thing to do is *not* try to do that.
2016-02-12 01:45:30 +00:00
Dan Smith
4a2b956493
Convert statsd, influx, splunk, and graphite to use state_as_number()
...
Fixes #1205
2016-02-12 01:45:25 +00:00
nkgilley@gmail.com
b00cad7095
fix travisci errors.
2016-02-11 19:27:05 -05:00
MartinHjelmare
2cf061c768
Add mysensors light platform
...
* Make light controllable independently with types V_LIGHT, V_DIMMER,
V_RGB and V_RGBW. V_RGBW is not implemented in the frontend yet.
* Add discovery for light platform.
* Add optimistic mode config setting for switch and light
to allow feedback state from actuator.
* Move S_LIGHT, V_LIGHT, V_STATUS types from switch to light platform.
* Change node update logging to debug from info level.
* Fix some inaccurate comments.
2016-02-12 01:22:35 +01:00
nkgilley@gmail.com
e837e97c9d
use track_time_change
2016-02-11 19:09:51 -05:00
Paulus Schoutsen
df8afe51f4
Merge pull request #1212 from MartinHjelmare/fix-validate-config
...
Fix validate config in mysensors
2016-02-11 12:39:16 -08:00
Greg Dowling
c8e6f89302
Merge pull request #1210 from balloob/fix_owntracks_passive_zone
...
Handle passive zones correctly.
2016-02-11 20:35:21 +00:00
pavoni
2e75a58372
Fix outtracks bug with passive zones.
2016-02-11 20:28:02 +00:00
MartinHjelmare
ae2fd149a5
Fix validate config in mysensors
...
* Add check of port in config.
2016-02-11 21:03:13 +01:00
Dan Smith
4cfa14c29d
Support manually-defined WeMo devices
...
This is extremely useful if you want to support wemos that are on
another subnet or across a VPN. It also lets you sidestep the discovery
process, which is problematic for a lot of people and situations.
In order for this to work, we need to bump the pywemo requirement to
0.3.10, which includes my changes to make this possible.
WeMo devices can be manually configured by adding a static section to
the config, like this:
switch:
platform: wemo
static:
- 192.168.100.5
- 192.168.100.6
2016-02-11 17:23:20 +00:00
Paulus Schoutsen
4ce1a67c13
Merge pull request #1077 from xrolfex/wink_garage_door_support
...
Wink Garage Door Support
2016-02-11 07:59:57 -08:00
Dan Smith
962463c1ab
Merge pull request #1196 from kk7ds/honeywell-enumerate
...
Make Honeywell module enumerate all available thermostats
2016-02-11 07:53:05 -08:00
Paulus Schoutsen
74f06b6862
Merge pull request #1190 from flyte/apcupsd-component
...
Add APCUPSd component
2016-02-11 07:35:43 -08:00
Dan Smith
d3d7d458e1
Make Honeywell module enumerate all available thermostats
...
This extends the HoneywellUSThermostat functionality to find and add
all thermostats in your account. So, we add a new config element called
'region' that is the primary trigger for this, and remove the 'id'
trigger since it was never in a released version.
This does a few extra things:
- It names the thermostat what you have it named in your account,
which is not something we get to know *unless* we emumerate.
- It makes all thermostats on a given account use the same session,
and thus we have to avoid doing an explicit login every time we
refresh our data. That was causing some rate-limiting on their
side when I was debugging, so this is probably good. Now, we use
their existing keepalive pinger to determine if we're still logged
in and only re-login if we need to.
2016-02-11 15:26:41 +00:00
Eric Rolf
23e3b8d2f2
Fixed Style Issue
2016-02-11 10:00:12 -05:00
Eric Rolf
be9a2a043e
Refactored Method Names.
2016-02-11 09:57:56 -05:00
Dan Smith
cc4fa6cd38
Merge pull request #1194 from kk7ds/add-graphite-feeder
...
Add graphite feeder component
2016-02-11 06:36:19 -08:00
John Arild Berentsen
4d15367956
Supporting electricity sensors with ELEC2/3 protocol from latest pyRFXtrx (0.4)
2016-02-11 15:35:05 +01:00
Eric Rolf
175b49236c
Fixed style attribute with redefined built in method names.
2016-02-11 09:20:47 -05:00
Eric Rolf
f464d591c9
Update python wink requirement
2016-02-11 08:49:07 -05:00
Eric Rolf
95d9bc48ea
Updated Demo
2016-02-11 08:37:17 -05:00
Eric Rolf
6b962a2207
Updated coveragec, cleaned up constants, added test for demo.
2016-02-11 08:37:16 -05:00
Eric Rolf
18b3d3df57
Forgot to refactor demo.
2016-02-11 08:37:16 -05:00
Eric Rolf
5f6977acda
Refactor Method Name For Open and Close.
2016-02-11 08:37:16 -05:00
Eric Rolf
d2ad0620ee
Wink Garage Door Support
2016-02-11 08:37:16 -05:00
Daniel
f938134069
updated rfxtrx lib
2016-02-11 14:15:51 +01:00
Flyte
91fb2764cc
Use a cache object to reduce the frequency of calls to APCUPSd
2016-02-11 07:33:53 +00:00
Paulus Schoutsen
82c5e2cf3c
Merge pull request #1177 from Theb-1/dev-notify-rest
...
REST notify component
2016-02-10 23:05:34 -08:00
Flyte
bb8981b611
Add apcupsd component.
2016-02-11 06:33:23 +00:00
Paulus Schoutsen
b350f22a77
Update frontend to fix color picker
2016-02-10 22:18:08 -08:00
Paulus Schoutsen
3bdb50510a
Merge pull request #1202 from huanga/change_nest_battery-level_unit
...
Changing battery level unit to "V" instead of "%"
2016-02-10 21:33:10 -08:00
Dan Smith
7478c36b27
Add graphite feeder component
...
Like recorder, this component listens to all events and reports any
that it can to a graphite installation. This makes it easy to use
graphite for all your data collection and analysis. If you run
carbon-cache (the backend for graphite) on the local machine, no
configuration is required other than enabling the component.
For more info on graphite: http://graphite.wikidot.com/
2016-02-11 05:28:40 +00:00
Paulus Schoutsen
b1f2c90bd0
Add MQTT service description
2016-02-10 21:23:27 -08:00
Paulus Schoutsen
1a38354ed5
Merge pull request #1138 from flyte/mqtt-publish-template
...
Add template support to mqtt.publish service payload.
2016-02-10 21:13:02 -08:00
Andy Huang
02609d0ab5
Changing battery level unit to "V" instead of "%" as the API reports output voltage, not percentage.
...
This value matches with Settings > Technical Information's Battery information.
2016-02-10 21:12:43 -08:00
Paulus Schoutsen
ce4f5ff29c
Merge pull request #1197 from maxdrift/expose-baud-rate-mysensors-component
...
Expose baud rate config for MySensors component
2016-02-10 20:51:18 -08:00
Paulus Schoutsen
5190cc74c5
Merge pull request #1200 from MartinHjelmare/mysensors-unavailable
...
Use entity property available in mysensors
2016-02-10 20:45:48 -08:00
MartinHjelmare
75775a561b
Use entity property available
2016-02-11 03:27:02 +01:00
Flyte
4e0c7f8a3d
Create additional mqtt helper function for using template payload.
2016-02-10 22:38:33 +00:00
Riccardo Massari
c705ca4288
Expose baud rate config for mysensors component
2016-02-10 23:16:41 +01:00
Per SandstrÃom
15ad48a7a0
kodi thumbnails
2016-02-10 19:48:41 +00:00
Flyte
d52e2019c0
Update mqtt.publish() function to use template_payload. Reorganise publish service. Use mqtt.publish() in tests.
2016-02-10 11:11:02 +00:00
Daniel
cdf0e80773
Improve the robustness of the rfxtrx module, and solve issue #1116
2016-02-10 08:44:34 +01:00
Paulus Schoutsen
b0948bef5f
Make State class immutable
2016-02-09 23:27:01 -08:00
Theb-1
d796625098
flake8 fix
2016-02-09 22:51:44 -08:00
Paulus Schoutsen
dc44ef7356
Support expanding nested groups
2016-02-09 22:43:07 -08:00
Theb-1
c5c4085ad4
upper/arg list/response improvements
2016-02-09 22:27:54 -08:00
Paulus Schoutsen
09b3aba51b
Merge pull request #1136 from turbokongen/verisure-locks
...
Added support for lock connected to Verisure system.
2016-02-09 21:20:52 -08:00
Theb-1
b3a1491482
pylint: ignore 'too-many-arguments'
2016-02-09 21:12:33 -08:00
Theb-1
b7ff79da24
Fixes and updates
...
Remove setting defaults twice
Add timeout
Add optional title and target
2016-02-09 20:48:17 -08:00
roqeer
4bf4d94344
Changed to dict lookup with default value
...
Corrected on request
2016-02-09 22:09:44 +01:00
roqeer
3e26af5ff1
Correct bad-indentation
2016-02-09 19:09:48 +01:00
roqeer
c1270cf0bb
Add name property to DHT sensor
...
Add name to distinguish between multiple connected DHT sensors
2016-02-09 18:58:04 +01:00
Flyte
26fc637ab5
Add payload_template to mqtt 'publish' service call.
2016-02-09 15:41:31 +00:00
Fabian Affolter
66c5d96b43
Upgrade influxdb to 2.12.0
2016-02-09 16:32:05 +01:00
turbokongen@hotmail.com
41f908ed39
Added support for lock connected to Verisure system.
2016-02-09 13:17:05 +01:00
Theb-1
0f5487b95a
Add REST notify component
2016-02-08 22:24:11 -08:00
Paulus Schoutsen
23c5159f6c
Update frontend to fix map CSS
2016-02-08 21:58:41 -08:00
Paulus Schoutsen
4840dd297a
Add unique ID to ecobee sensor
2016-02-08 20:39:09 -08:00
Paulus Schoutsen
f222340c8e
Merge pull request #1174 from balloob/wink-light
...
Wink light to inherit from light
2016-02-08 19:05:39 -08:00
Paulus Schoutsen
160b811ddf
Wink light to inherit from light
2016-02-08 08:53:22 -08:00
Paulus Schoutsen
2e164e519a
Merge pull request #1160 from stjohnjohnson/live-camera-stream
...
Fixes #1062 - If supported, directly stream the MJPEG from the remote camera
2016-02-07 14:43:00 -08:00
Paulus Schoutsen
779188ad27
Merge pull request #1167 from kk7ds/mfi-improvements
...
Mfi improvements
2016-02-07 14:40:47 -08:00
pavoni
ac0dc10377
Refactor VeraLight to inherit from Light, rather then VeraSwitch.
2016-02-07 21:45:15 +00:00
Dan Smith
0a7db98b0e
Round mFi sensor values to reasonable levels of precision
...
Most of the mFi sensors are able to reasonably provide accurate
readings to a tenth of a unit or so. This patch rounds them for
better display in the UI. Normally, I would expect this to be a view
action instead of altering the actual data emitted, but since these
values are reasonable for sensor precision, we're not really losing
anything. I followed the model from the openweathermap component, which
rounds for readability in the backend.
2016-02-07 20:51:00 +00:00
Dan Smith
8f690ff077
Add support for mPort input sensors
...
The mPort device has input pins that can be configured as digital or
analog inputs. We should support those as sensors.
2016-02-07 20:49:02 +00:00
Dan Smith
951fa603ff
Support mPort voltage output switch types
...
An mPort device has a voltage output port that, if configured,
we should support like a switch.
2016-02-07 20:48:57 +00:00
Dan Smith
c113997609
Tweak mFi switch behavior to avoid false states
...
When we update the mFi server for the state of a switch, the new
state is not always reported immediately if we update right after
the action (the server is not RESTful).
This patch adds some internal target-state handling to report the
desired state on the next poll, allowing any subsequent polls to
override that state.
Also, bump the version requirement for mficlient to 0.2.2 to absorb
a bug fix.
2016-02-07 20:48:51 +00:00
St. John Johnson
f700635445
Add support for mjpeg component to proxy it's own stream
2016-02-07 12:02:52 -08:00
Paulus Schoutsen
d49fae86e4
Update frontend with entity picture fix
2016-02-07 11:33:01 -08:00
Paulus Schoutsen
64611ab2be
Merge pull request #1157 from balloob/device-state-attributes
...
Clean up state_attributes vs device_state_attributes
2016-02-07 10:16:34 -08:00
Paulus Schoutsen
cd25c8f72d
Clean up some query stuff
2016-02-07 10:07:27 -08:00
Paulus Schoutsen
9ad1d290af
Fix migration 5
2016-02-07 10:07:08 -08:00
Fabian Affolter
02efe903ab
Add icon
2016-02-07 12:43:02 +01:00
Fabian Affolter
0bb63bf3f0
Move configuration details to docs and add link
2016-02-07 12:36:29 +01:00
Fabian Affolter
e23db5d972
Some small changes
2016-02-07 12:03:01 +01:00
Fabian Affolter
e311f89056
Move details to docs and update docstrings/comments
2016-02-07 12:00:35 +01:00
Fabian Affolter
757946293e
Move configuration details to docs
2016-02-07 11:52:17 +01:00
Nick Waring
cd0cef6403
Component to track the proximity of devices to a zone
2016-02-07 08:52:32 +00:00
Paulus Schoutsen
fb6aded2e1
Update frontend with new dependencies
2016-02-07 00:15:09 -08:00
Paulus Schoutsen
8b7cfc831d
Merge pull request #1133 from balloob/cast-fix
...
Fix Chromecast discovery
2016-02-06 23:06:23 -08:00
Paulus Schoutsen
987be65d55
Update frontend to support default_view
2016-02-06 23:01:44 -08:00
Paulus Schoutsen
f08b77dc4c
Clean up state_attributes vs device_state_attributes
2016-02-06 22:34:24 -08:00
Paulus Schoutsen
681b84e1bd
Update frontend with FF url-sync fix
2016-02-06 22:07:30 -08:00
Paulus Schoutsen
428750eeda
Merge pull request #1151 from kk7ds/add-mfi
...
Add support for Ubiquiti mFi sensors and switches
2016-02-06 20:11:53 -08:00
Paulus Schoutsen
0ae36e1d28
Merge pull request #1140 from kk7ds/add-nx584-alarm
...
Add Caddx/GE/Interlogix NetworX alarm panel support
2016-02-06 20:09:25 -08:00
Philip Lundrigan
d2e8721918
Merge pull request #1124 from philipbl/fix_influx
...
Fix InfluxDB field type conflict
2016-02-06 20:49:20 -07:00
Philip Lundrigan
bbdc196127
Use entity_id attribute
2016-02-06 20:33:43 -07:00
Dan Smith
3575ddb6ef
Add Caddx/GE/Interlogix NetworX alarm panel support
...
This adds support for NetworX-based alarm panels and should work for
any such panel equipped with a NX584 serial interface module. This
includes NX-4/6/8/8E, where the NX8E has this interface built-in.
It requires the pynx584 module, and requires running the server
component somewhere that has connectivity to the panel via serial,
which may include a serial-over-lan connection.
2016-02-07 03:06:58 +00:00
Dan Smith
ffc4822f50
Add support for Ubiquiti mFi switchable devices
...
This adds support for mFi devices that are swichable,
such as the mFi Outlet device.
2016-02-07 03:02:49 +00:00
Dan Smith
a147304be9
Add support for Ubiquiti mFi sensors
...
This adds support for sensors based on Ubiquiti's mFi platform.
All ports/sensors are detected from the mFi controller and exposed.
2016-02-07 02:58:04 +00:00
Paulus Schoutsen
7eef831ff3
Merge pull request #1141 from kk7ds/add-uvc-cameras
...
Add Ubiquiti Unifi Video Camera support
2016-02-06 18:21:44 -08:00
MartinHjelmare
d773ad1ecb
Fix mysensors version errors
...
* The application of the version check in unit_of_measurement was
messed up after the last refactor. Fix that again.
* An error could occur in device_state_attributes if there was a
mismatch between used value_type in the device and mysensors
version in config. Add try... except to handle that.
Bump pyvera version.
Bump pywemo version.
Add unavailable status before properly initialised for maker and insight.
2016-02-07 00:28:12 +00:00
Dan Smith
cab1100a51
Add Ubiquiti Unifi Video Camera support
...
This adds support for Ubiquiti's UniFi Video cameras via their
NVR device (or service). By configuring just the address of the
NVR and a valid API key, all cameras are discovered and enabled,
including direct-to-camera image snapshot-based video support.
2016-02-06 22:57:44 +00:00
Dan Smith
3616d7a7ea
Fix alarm service handler state updates
...
This changes the service handler dispatch code to always
call update_ha_state(), and cleans up the alarm platforms that
were calling it themselves.
2016-02-06 21:11:28 +00:00
Paulus Schoutsen
d38ad57b7d
Merge pull request #1142 from kk7ds/add-honeywellus-thermostat
...
Add Honeywell US thermostat support
2016-02-06 13:05:53 -08:00
Paulus Schoutsen
b3e966665a
Merge pull request #1150 from bradsk88/master
...
Updating to python-wink 0.5.0
2016-02-06 13:04:42 -08:00
bradsk88
6e69737e88
Updating to python-wink 0.5.0
...
Major bugfix. ``` get_bulbs ``` and similar methods were always returning empty lists.
Better unit tests have been added to https://github.com/bradsk88/python-wink to avoid this regression.
2016-02-06 14:22:46 -06:00
Dan Smith
062fe79b3f
Add Honeywell US thermostat support
...
This adds support for the US variant of the Honeywell connected
thermostat. The interface is super simple, so this doesn't add
any external dependencies. It supports basic temperature, setpoint,
and control.
Issue #998 notes that the existing honeywell module doesn't work
for US models, which is because they are totally different. In order
to indicate to the honeywell platform module that the thermostat
is a US-type, we key off of whether or not the thermostat id is
provided. This is something that US people have (and require to
identify one of potentially multiple thermostats in their account)
and EU people will not.
2016-02-06 20:14:40 +00:00
Paulus Schoutsen
af0a44d976
Merge pull request #1144 from MartinHjelmare/fix-mysensors-errors
...
Fix mysensors version errors
2016-02-06 11:35:49 -08:00
Paulus Schoutsen
dde80850a6
Merge pull request #1112 from balloob/switch-template
...
First cut of switch.template
2016-02-06 09:12:13 -08:00
MartinHjelmare
b700ec4faa
Fix mysensors version errors
...
* The application of the version check in unit_of_measurement was
messed up after the last refactor. Fix that again.
* An error could occur in device_state_attributes if there was a
mismatch between used value_type in the device and mysensors
version in config. Add try... except to handle that.
2016-02-06 10:57:42 +01:00
Fabian Affolter
614034d196
Update docstrings
2016-02-06 08:23:30 +01:00
Paulus Schoutsen
c9d145cb13
Merge pull request #1120 from haraldnagel/dev
...
Add BloomSky weather station support
2016-02-05 20:06:53 -08:00
Harald Nagel
b6a32098d1
Add BloomSky weather station support
2016-02-06 01:37:32 +00:00
Flyte
4cf85294db
Add template support to mqtt.publish service payload.
2016-02-05 21:47:27 +00:00
Fabian Affolter
6bf4532608
Add icon
2016-02-05 13:08:17 +01:00
pavoni
2622cf2e53
Use available, remove state, improve true,false tests.
2016-02-05 11:18:50 +00:00
Paulus Schoutsen
2c4166b5f2
Update splunk.py
2016-02-04 22:06:27 -08:00
Paulus Schoutsen
8be9aaba4f
Fix Chromecast discovery
2016-02-04 21:36:37 -08:00
Paulus Schoutsen
1b16d76c40
Merge pull request #1128 from miniconfig/splunk
...
Added a new component to log state changes to a Splunk instance using…
2016-02-04 20:58:12 -08:00
Paulus Schoutsen
1a6539ad41
Merge pull request #1110 from lukas-hetzenecker/feature-zwave-poll-and-scene
...
Z-Wave: Scene activation & Polling
2016-02-04 20:51:52 -08:00
Paulus Schoutsen
96066e94ab
Merge pull request #1122 from molobrakos/tellduslive
...
reworked telldus live support
2016-02-04 20:46:23 -08:00
nkgilley@gmail.com
78e758925b
remove commented lines.
2016-02-04 18:42:38 -05:00
nkgilley@gmail.com
19fc48f4a0
use raw regex
2016-02-04 18:39:09 -05:00
nkgilley@gmail.com
d469970e5a
Speedtest.net component
2016-02-04 18:21:37 -05:00
Erik
50a9b3a7c0
reworked telldus live support
2016-02-05 00:07:12 +01:00
miniconfig
ab837f9070
Added a new component to log state changes to a Splunk instance using the HTTP Event Collector
2016-02-04 16:13:55 -05:00
Erik
f3b74079e0
provide default icon
2016-02-04 21:55:22 +01:00
Philip Lundrigan
c580953bd8
Fix MQTT sensor
2016-02-04 12:38:48 -07:00
Philip Lundrigan
fc3741911c
Fix problem with field type conflict in influxdb
2016-02-04 12:38:48 -07:00
Lukas Hetzenecker
2589e78e84
Z-Wave: This small refactor adds the following features:
...
* The poll interval got fixed and the poll intensity gets configurable in the settings
* Activated scenes now fire an event
2016-02-04 19:54:43 +01:00
pavoni
ced380f0cd
Remove unneeded entity_id check and blank lines.
2016-02-04 17:24:38 +00:00
Paulus Schoutsen
a33f1c61e5
Merge pull request #1108 from lukas-hetzenecker/regression-zwave-light
...
Z-Wave Regression: Fix state attributes of lights and switches.
2016-02-03 21:25:13 -08:00
Lukas Hetzenecker
8cf5ca0ba8
Regression: The device specific attributes of ZWave devices got lost.
...
Light and ZWaveDeviceEntity both have overwritten the property state_attributes
This includes the device specific attributes in the state_attributes again
2016-02-04 02:12:33 +01:00
pavoni
b20d3f8b3a
Update docstrings.
2016-02-03 23:23:19 +00:00
Paulus Schoutsen
1f34b3586e
Merge pull request #1117 from philipbl/influx_ssl
...
Add ability to specify SSL for InfluxDB connection
2016-02-03 13:33:08 -08:00
Paulus Schoutsen
37dadd1ae0
Merge pull request #974 from sdague/domains
...
Add recording of domain to state tables
2016-02-03 12:26:31 -08:00
Sean Dague
abc253c4c5
implement get_significant_states
...
This adds a new function to history module which returns significant
states. For most domains this is the list of state changes. For the
thermostat domain this also includes attribute changes, so that
changes in the current_temperature are exposed to the graphing layer.
Closes #881
2016-02-03 15:05:43 -05:00
Sean Dague
3d00735341
Add recording of domain to state tables
...
Some domains, like thermostat, need all state records, not just state
change ones, to provide accurate graphs. This introduces a new db
migration which adds a 'domain' column to all states so that is a fast
query.
Indexes were added to help with query performance.
This includes a data migration which post-date populates domain. On
large HA dbs this might take real time, as it has to touch every state
row. 100 MB db (91k states) updated in a couple of seconds on my
reasonably fast server. Be forewarned.
This is part of bug #881
2016-02-03 15:05:43 -05:00
Paulus Schoutsen
ce75c590b1
Merge pull request #1109 from lukas-hetzenecker/bugfix-zwave-fibaro-wall-plug
...
Z-Wave: Bugfix for Fibaro Wall Plug component
2016-02-03 08:34:06 -08:00
pavoni
6e6c3c5cd5
Tidy.
2016-02-03 14:30:58 +00:00
pavoni
5521096c02
Add actions.
2016-02-03 14:29:25 +00:00
Fabian Affolter
356013118d
Update docstrings
2016-02-03 15:13:53 +01:00
pavoni
9a9dbcfaea
Refactor, support template logic values, add tests.
2016-02-03 13:16:13 +00:00
Lukas Hetzenecker
1c33e01b99
styleguide fix
2016-02-03 13:03:01 +01:00
Lukas Hetzenecker
d09837fef6
Zwave: This is a bugfix for the Fibaro Wall Plug component
...
As discussed here ( https://www.domoticz.com/forum/viewtopic.php?f=6&t=5661 ) this components reports two different power consumption values.
Unfortunately only one of them is correct. Both of them map to the exactly same object id.
This bugfix gets rid of the incorrect one.
2016-02-03 12:44:11 +01:00
Paulus Schoutsen
077797ac4f
Merge pull request #1086 from carlosmgr/dev
...
update SSH for aruba device tracker
2016-02-02 18:33:49 -08:00
Paulus Schoutsen
b14f7f7ed0
Merge pull request #1099 from balloob/sensor_template_startup_error
...
Sensor template startup error
2016-02-02 18:32:09 -08:00
carlosmgr
3d695405b7
pep8 2 time
2016-02-03 00:03:50 +00:00