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
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
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
Fabian Affolter
6bf4532608
Add icon
2016-02-05 13:08:17 +01: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
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
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
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
Fabian Affolter
356013118d
Update docstrings
2016-02-03 15:13:53 +01: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
b14f7f7ed0
Merge pull request #1099 from balloob/sensor_template_startup_error
...
Sensor template startup error
2016-02-02 18:32:09 -08:00
Fabian Affolter
bd8881cbe1
Add icon
2016-02-03 00:12:01 +01:00
Fabian Affolter
847e92f57a
Update docstrings
2016-02-03 00:01:26 +01:00
pavoni
d344defc7e
Switch to warning.
2016-02-02 16:26:17 +00:00
pavoni
3aad223c95
Change to warning if attributes missing.
2016-02-02 14:14:29 +00:00
Paulus Schoutsen
26efaa91a3
Merge pull request #1090 from balloob/fix_sensor_template_entity_id
...
Fix bug in sensor.template entity_id
2016-02-01 21:21:57 -08:00
Paulus Schoutsen
41165695f0
Merge pull request #1071 from deisi/onewireupdate
...
Little improvement for the onewire platform
2016-02-01 15:26:22 -08:00
pavoni
9c33af60f2
Fix unreachable code!
2016-02-01 18:38:11 +00:00
Malte Deiseroth
cb2e75befd
removed trailing whitespace
2016-02-01 19:24:08 +01:00
pavoni
95748a6880
Generate entity id correctly, was using friendly_name.
2016-02-01 17:45:18 +00:00
Paulus Schoutsen
10a41a22dc
Merge pull request #1084 from molobrakos/tellduslive
...
handle situation where no name is set yet for the sensor
2016-02-01 08:55:39 -08:00
Erik
ac0b6ca50c
handle situation where no name is set yet for the sensor
2016-02-01 17:42:08 +01:00
Daniel
5005b20122
Added and fixed yr tests
2016-02-01 15:50:17 +01:00
Fabian Affolter
395743005a
Add link to docs, new docstrings, and update docstrings
2016-02-01 11:47:09 +01:00
Malte Deiseroth
d6b19aae48
- check for reasonable temperature values
...
- round temperature to one digit
2016-01-31 22:56:48 +01:00
Martin Hjelmare
a8f7bc2324
Merge pull request #1034 from MartinHjelmare/refactor-s_v_types
...
Mysensors: Refactor s_types and v_types mapping
2016-01-30 01:04:06 +01:00
MartinHjelmare
9db0987e53
Refactor s_types and v_types mapping
...
To be able to handle new platforms with multiple used v_types but
single states, a new more strict mapping was required. Each s_type is
now mapped to its corresponding v_type(s) in a dict of lists.
2016-01-30 00:55:13 +01:00
Martin Hjelmare
c5de42e7b5
Merge pull request #1033 from MartinHjelmare/refactor-unit-of-measurement
...
Mysensors: Refactor unit of measurement
2016-01-29 18:21:15 +01:00
Paulus Schoutsen
f87c7d6732
Merge pull request #1023 from flyte/zigbee-pr
...
Add ZigBee integration and components.
2016-01-29 09:18:10 -08:00
MartinHjelmare
575e97a051
Refactor unit of measurement
...
* Add dict with map of units to v_types.
* Avoid numerous if, elif branches and return statements.
* Add custom unit decoupled from other units.
2016-01-29 18:11:58 +01:00
Flyte
902077d78b
Catch ZigBee exceptions when communicating with the devices and log appropriate messages.
2016-01-29 16:45:49 +00:00
Flyte
c17a4fca80
ZigBee: Ensure correct entity types are used for each component.
2016-01-29 12:00:53 +00:00
Flyte
241a768983
ZigBee: Remove extraneous update_ha_state() usage and use it more appropriately for initial state update.
2016-01-29 11:33:15 +00:00
Paulus Schoutsen
cbc6323438
Fix imports
2016-01-28 21:45:26 -08:00
Paulus Schoutsen
1de7dcdb5f
Merge pull request #1025 from molobrakos/yr-position
...
allow monitoring weather at other location than home
2016-01-28 08:49:48 -08:00
Erik
9e7886b909
allow monitoring weather at other location than home (such as summer house)
2016-01-28 17:16:02 +01:00
Flyte
dda4f84150
Add zigbee components.
2016-01-28 13:18:29 +00:00
Paulus Schoutsen
ee33aa73e1
Merge pull request #1017 from fabaff/psutil-upgrade
...
Upgrade psutil to 3.4.2
2016-01-27 08:08:21 -08:00
Fabian Affolter
ef4661f1e6
Upgrade psutil to 3.4.2
2016-01-27 12:26:38 +01:00
Fabian Affolter
b4070cfb78
Upgrade py-cpuinfo to 0.1.8
2016-01-27 11:43:49 +01:00
Fabian Affolter
c750f16275
Update docstings
2016-01-27 09:34:14 +01:00
Fabian Affolter
cf7c06d307
Update docstring and fix typos
2016-01-27 09:21:21 +01:00
Fabian Affolter
232aa792f1
Add link to docs and update docstrings
2016-01-27 08:08:04 +01:00
Paulus Schoutsen
f3f592cdec
Merge pull request #982 from stefan-jonasson/dev
...
Updated the entity names for all z-wave devices.
2016-01-26 22:51:34 -08:00
Stefan Jonasson
1d2cd0811b
Updated Imports.
...
ZWave modules now import the domain from the base domain.
2016-01-27 07:37:41 +01:00
Paulus Schoutsen
88387d3123
Merge branch 'pr/78' into dev
...
Conflicts:
homeassistant/const.py
2016-01-26 21:07:53 -08:00
Martin Hjelmare
14cd27aaa7
Merge pull request #1011 from MartinHjelmare/fix-unit-of-measurement
...
Fix unit of measurement
2016-01-27 03:40:50 +01:00
MartinHjelmare
2e175b88bc
Fix unit of measurement
...
* Add version check in unit_of_measurement, to avoid error.
* Remove not needed metric check in unit_of_measurement.
* Add more value types to unit_of_measurement.
* Fix unit prefix
* Remove unused SCAN_INTERVAL variable.
2016-01-27 03:18:59 +01:00
Paulus Schoutsen
33a9ec0106
Merge pull request #1008 from fabaff/blockchain-upgrade
...
Upgrade blockchain to 1.2.1
2016-01-26 17:47:14 -08:00
MartinHjelmare
1dae22a465
Fix device_state_attributes
...
* Return a dict with keys as the names of the enum members instead of
the member values.
* This fixes a TypeError: unorderable types: int() < str()
2016-01-27 02:33:21 +01:00
Fabian Affolter
06cf07b097
Upgrade blockchain to 1.2.1
2016-01-26 23:53:30 +01:00
Stefan Jonasson
1a422ecd5a
Moved common z-wave node functionality to a common z-wave class
2016-01-26 22:11:27 +01:00
Stefan Jonasson
5b6371ecda
Merge remote-tracking branch 'origin/dev' into dev
...
# Conflicts:
# homeassistant/components/light/zwave.py
# homeassistant/components/switch/zwave.py
2016-01-26 20:31:42 +01:00
MartinHjelmare
9117fa6eb8
Fix adding devices on the fly
...
Devices were not added without persistence enabled and restart of HA.
Node id was added to defaultdict(list) by mistake when checking if list
of defaultdict was empty.
* Fix adding devices in mysensors_callback.
* Change devices to regular dict.
2016-01-26 18:12:13 +01:00
Stefan Jonasson
f4c9540a1b
Updated teh entity_id generation
...
Entity ids will now look like this:
sensor.philio_technology_corporation_psm021_slim_multisensor_doorwindow_sensor_7
sensor.philio_technology_corporation_psm021_slim_multisensor_luminance_7
sensor.philio_technology_corporation_psm021_slim_multisensor_motion_sensor_7
sensor.philio_technology_corporation_psm021_slim_multisensor_tamper_sensor_7
sensor.philio_technology_corporation_psm021_slim_multisensor_temperature_7
sensor.philio_technology_corporation_psm021_slim_multisensor_doorwindow_sensor_8
sensor.philio_technology_corporation_psm021_slim_multisensor_luminance_8
sensor.philio_technology_corporation_psm021_slim_multisensor_motion_sensor_8
sensor.philio_technology_corporation_psm021_slim_multisensor_tamper_sensor_8
sensor.philio_technology_corporation_psm021_slim_multisensor_temperature_8
And if there is several values of the same type in a node the instance id will be appended like this (three switches in the same device):
switch.fibaro_system_unknown_type0202_id1002_switch_9
switch.fibaro_system_unknown_type0202_id1002_switch_9_2
switch.fibaro_system_unknown_type0202_id1002_switch_9_3
2016-01-26 09:33:26 +01:00
Stefan Jonasson
1842e5909e
Updated the entity names for all z-wave devices.
...
Z-Wave have a unique node id, this is now added to the entity name.
This is a change will break old configs. The Z-Wave entity_id will have to be updated in configurations.
The reason for this change is that the old behavior created duplicate entity_ids if you have several similar devices. The order devices is included is not consistent so when the service was restarted the entity ids could change and the configuration for entities will be invalid.
There was also inconsistencies between the naming for sensors and switches.
(cherry picked from commit 33a78df)
2016-01-24 10:20:51 +01:00
Paulus Schoutsen
0042e7725d
Merge pull request #967 from HydrelioxGitHub/NetAtmo-icons
...
Add icons to NetAtmo sensors
2016-01-22 12:56:43 -08:00
hydreliox
613f8d0bd2
Add icons to NetAtmo sensors
2016-01-22 21:15:07 +01:00
Greg Dowling
61ca1ab2c1
Merge pull request #948 from balloob/sensor_template
...
First draft of sensor.template.
2016-01-22 16:49:49 +00:00
pavoni
ad62591f43
Change error state to be 'error' rather than 'unknown', trace error.
2016-01-22 16:30:02 +00:00
pavoni
87a9fd8252
Handle race condition on startup.
2016-01-22 11:30:04 +00:00
William Scanlon
56ce3e5f5a
Wink siren support
2016-01-21 18:32:10 -08:00
pavoni
8b5751ad44
Merge branch 'dev' into sensor_template
2016-01-21 23:17:53 +00:00
pavoni
c615272c06
Tidy.
2016-01-21 23:17:19 +00:00
Robert Marklund
f19a46dcfe
yr.no: fix some bugs in the component
...
Someone forgot some in:s and ()
Also added windGust sensor.
Signed-off-by: Robert Marklund <robbelibobban@gmail.com>
2016-01-21 22:04:18 +01:00
pavoni
a6f37c032b
Revise to not need dependencies (or quoting)!
2016-01-21 17:35:33 +00:00
pavoni
e66d15b71d
First drafy of sensor.template.
2016-01-21 16:31:23 +00:00
Paulus Schoutsen
66d23cd15f
Merge pull request #945 from zmrow/fix-exception-in-openweather
...
Fix #863 - Added a check for good pull from OWM and return if the object is None
2016-01-20 19:57:57 -08:00
zmrowicki@hotmail.com
c3a1193ef9
Fix #863 - Added a check for good pull from OWM and return if the object is None
2016-01-20 19:36:33 -08:00
MartinHjelmare
9249dc6dd3
Fix missing binary sensor types
...
* Add missing binary sensor types to sensor/mysensors.
* Remove unneeded pylint disable.
2016-01-19 19:26:40 +01:00
Erik
d43101f22a
fix issue where sensors and switches were duplicated because of component getting initialized twice. closes #913
2016-01-18 19:41:41 +01:00
Paulus Schoutsen
a9c6f8c1d9
Enforce entity attribute types
2016-01-17 17:50:20 -08:00
Joseph Hughes
4ca4941c82
fix pylint errors in sensor/nest
2016-01-16 12:56:38 -07:00
Joseph Hughes
4dbd84ead0
make sure everything inherits from NesSensor
2016-01-16 12:53:42 -07:00
Joseph Hughes
0495776a22
merge upstream dev
2016-01-16 12:52:22 -07:00
pavoni
be23c6c86d
Bump pywemo version.
2016-01-16 11:35:17 +00:00
Greg Dowling
3d27dd3ec4
Merge pull request #902 from balloob/fix_vera_sensor_subscriptions
...
Another Vera fix
2016-01-15 21:46:27 +00:00
pavoni
c2f5eb3073
Missed change.
2016-01-15 21:42:51 +00:00
pavoni
541b268721
Update to use refactored pyvera, fixes subscription issues - esp sensors.
2016-01-15 21:30:58 +00:00
sfam
d8d59d9a66
remove rpi_gpio sensor
2016-01-15 18:05:48 +00:00
sfam
7c925ac295
update comments
2016-01-15 16:53:46 +00:00
sfam
8617b92d1b
Update RPi.GPIO version and code refactoring
2016-01-15 16:53:45 +00:00
Paulus Schoutsen
bb80e3a9fc
Merge pull request #898 from balloob/vera_fixes
...
Vera fixes
2016-01-15 07:43:03 -08:00
Joseph Hughes
80023f62d9
Merge remote-tracking branch 'upstream/dev' into nest_sensor
...
# Conflicts:
# .coveragerc
# requirements_all.txt
2016-01-15 08:18:16 -07:00
pavoni
4fd79afa42
Bump pyvera version.
2016-01-15 11:45:17 +00:00
pavoni
719f9a63d9
Fix style issue
2016-01-15 10:52:58 +00:00
pavoni
4bc33d0352
Bump pyvera version.
2016-01-15 10:34:14 +00:00
pavoni
c4e1035638
Add humidity sensor, add units for humidity and light sensors.
2016-01-15 09:21:48 +00:00
Paulus Schoutsen
bed9b038c8
Merge pull request #856 from w1ll1am23/Wink_power_strip_support
...
Wink power strip support
2016-01-14 19:23:41 -08:00
Joseph Hughes
9210c57c2d
Fix lint errors and PR comments
2016-01-14 14:32:43 -07:00
Joseph Hughes
313cbda0aa
fix multiple PR issues
2016-01-14 14:17:28 -07:00
Joseph Hughes
a39148dd38
fix pylint errors for Nest Sensor
2016-01-14 11:37:17 -07:00
Joseph Hughes
ac34db3c8a
Merge remote-tracking branch 'upstream/dev' into nest_sensor
...
# Conflicts:
# .coveragerc
# requirements_all.txt
2016-01-14 11:00:34 -07:00
Joseph Hughes
7b993da0de
address PR comments for Nest Sensor
2016-01-14 10:48:24 -07:00
William Scanlon
de5bee6359
Updated python-wink version
2016-01-14 08:56:59 -05:00
Fabian Affolter
f0af23a4f5
Add link to docs and update pressure unit
2016-01-14 09:16:20 +01:00
Joseph Hughes
0e6a60b086
Add the nest sensor for tracking data from nest
2016-01-13 21:05:47 -07:00
hydreliox
314d34a644
Update library lnetatmo requirements
...
Thanks to @rmkraus
2016-01-14 03:00:51 +01:00
hydreliox
4f13236008
Merge remote-tracking branch 'refs/remotes/balloob/dev' into netatmo
2016-01-13 09:03:44 +01:00
hydreliox
058dba50cc
Correct name using format instead of concatenation
2016-01-13 08:46:45 +01:00
Paulus Schoutsen
3b7b12bbd5
Make Flake8 happy
2016-01-12 21:53:27 -08: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
ntouran
5af4864326
ZWave alarm sensor cleanup (pylint fixes)
2016-01-11 23:27:53 -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
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
pavoni
4b4fb038e3
Update for new library, slightly revise switch logic.
2016-01-10 12:30:47 +00:00
MartinHjelmare
0b3a66dd1a
Merge branch 'dev' into mysensors-component-switch
2016-01-10 04:27:39 +01:00
MartinHjelmare
2d8cf7de44
Fix wrapper and S_BINARY and bump req. version
...
* Wrap existing SerialGateway instance instead of subclassing
SerialGatewat class.
* Add S_BINARY in switch platform only in version 1.5 of mysenors api.
* Use version 0.4 of pymysensors.
* Show gateway port as state attribute.
2016-01-10 04:10:38 +01:00
pavoni
af21f72d17
Update pyvera version.
2016-01-09 22:58:28 +00:00
pavoni
b64680e4a8
Revise to depend on vera subscription data updates, rather than talking to device.
2016-01-09 21:13:34 +00:00
Fabian Affolter
a2c6cde83d
Update pyowm to 2.3.0
2016-01-09 13:20:51 +01:00
William Scanlon
2803631906
Updated python-wink to 0.4.0
2016-01-08 08:25:26 -05:00
hydreliox
4c47ed31ff
Correction to import lnetatmo right
2016-01-08 06:19:03 +01:00
hydreliox
1ed574b2a0
Point lnetatmo library directly from github
2016-01-08 05:34:51 +01:00
Fabian Affolter
35c29dac3f
Use mbar instead of hPa
2016-01-07 11:50:02 +01:00
Fabian Affolter
aac44f3a2b
Use the same unit for pressure as for the forecast sensor
2016-01-07 11:48:42 +01:00
hydreliox
a8b36d9baa
Multiple Module Configuration
...
Handle multiple module (see configuration.yaml)
2016-01-06 04:36:04 +01:00
hydreliox
520a8d0d0d
Add NetAtmo Platform
...
Alpha version of the platform.
API library is not yet on PyPI
2016-01-06 03:39:16 +01:00
Paulus Schoutsen
99e14380fe
Merge pull request #847 from molobrakos/patch-1
...
No need to call update() here
2016-01-05 08:55:48 -08:00
Erik
5576649d60
Update eliqonline.py
2016-01-04 21:36:39 +01:00
Erik
82cd2f4ed6
Update eliqonline.py
2016-01-04 21:31:42 +01:00
Erik
66f12afbb1
don't fail if error
...
don't fail if request for updated data raises exception in underlying library
2016-01-04 21:12:10 +01:00
Greg Dowling
431656bbcf
Merge pull request #848 from balloob/fix-vera-bugs
...
Bump pyvera version to fix vera dimmer off bug, and avoid shutdown race condition
2016-01-04 19:34:17 +00:00
Erik
a174a06e5c
No need to call update() here
...
This also fixes a problem where the sensor is left uninitialized when the energy meter temporarily has lost connection with the hub. This caused the ELIQ Online server to return HTTP error 400: "user have no current power data", which in turn caused the used eliq library to fail during JSON parsing (issue reported).
2016-01-04 19:25:52 +01:00
Fabian Affolter
0d0fdb0adf
Remove configuration details
2016-01-04 16:26:11 +01:00