Steven Barth
4bfc7b9848
Add homematic host port config for HMIP-only CCUs ( #30077 )
...
* homematic: Add host port config for HMIP-only CCUs
When adding a host (CCU) to the homematic component currently the hardcoded port 2001 is used to communicate with it.
However that port is only available on the target if the target supports HM (wireless) protocol which is not the case e.g. for
the Hass.io Homematic CCU addon when running in HMIP-only mode with the HMIP-RFUSB stick.
This allows to change the port home assistant uses to talk to the CCU in order to provide services under hte homematic homain, e.g. homematic.set_variable_value
The default value for this option is the old hardcoded value this the change should be backwards compatible with existing configurations.
* Change style of config retrieval
2019-12-31 08:41:44 -05:00
springstan
c9415ab75d
Move imports to top for homematic ( #29558 )
2019-12-06 17:46:24 +01:00
Daniel Perna
c6ac2a5705
Update pyhomematic ( #29477 )
2019-12-04 22:50:18 -08:00
SukramJ
1fb377e61e
Use defined device class constants for Homematic ( #28438 )
...
* Use defined device classes for Homematic
* Remove not required default None
* Missed on None
2019-11-01 21:25:33 +01:00
guillempages
98cf3f4aa3
[homematic]Add support for HmIP-BSL LEDs ( #27307 )
...
With this commit, 3 entities are created for the HmIP-BSL device:
2 lights for the two independent LEDs and 1 switch for the relais
2019-10-25 16:08:11 +02:00
guillempages
6bfb2460f2
[homematic]Pass channel to light color functions ( #27306 )
...
The device HmIP-BSL has two independent LEDs on two different channels,
so the channel needs to be explictly specified when setting the color.
2019-10-25 16:06:52 +02:00
guillempages
f2617fd74a
Split homematic color and effect support ( #27299 )
...
* [homematic] Split color and effect support
There are homematic devices (like HmIP-BSL) that support color but
do not support effects.
Split the support, so that color can be supported even if effects are not.
* Make effect fully independent of color
If a device supports effects for e.g. just brightness, it shouldn't be coupled to the color
2019-10-19 14:40:42 +02:00
Daniel Perna
fe7467cd5c
Update pyhomematic to 0.1.61 ( #27620 )
2019-10-14 00:01:14 +02:00
Kevin Eifinger
04ead6f273
move ATTR_MODE to homeassistant.const ( #27118 )
2019-10-02 09:33:47 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
MajestyIV
2c80ce3195
HM-CC-TC was not recognized ( #26623 )
...
* HM-CC-TC was not recognized
* guard instead of exception
2019-09-23 14:39:10 +02:00
Franck Nijhof
f9edec19ad
Use literal string interpolation in integrations H-J (f-strings) ( #26380 )
2019-09-03 17:27:14 +02:00
Ville Skyttä
a54ade1189
Spelling fixes ( #25666 )
2019-08-02 23:20:06 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Pascal Vizeli
b9c6758dba
Fix HM with use wrong datapoint for off ( #25298 )
2019-07-19 11:18:13 +02:00
Pascal Vizeli
75ad5f8c9e
Show off value ( #25236 )
2019-07-18 11:24:07 +02:00
Daniel Perna
84373ce754
Fix device types for some HomeMatic IP sensors ( #25167 )
...
* Update pyhomematic to 0.1.60
* Devicetype for pyhomematic classes, fixes #24080
2019-07-15 13:39:52 -07:00
Daniel Perna
17013c7c2c
Update pyhomematic to 0.1.60 ( #25152 )
2019-07-14 20:21:37 -07:00
Pascal Vizeli
a2237ce5d4
homematic add off support for climate ( #25017 )
...
* homematic add off support for climate
* fix lint
2019-07-09 00:00:25 +02:00
Pascal Vizeli
84cf76ba36
Climate 1.0 ( #23899 )
...
* Climate 1.0 / part 1/2/3
* fix flake
* Lint
* Update Google Assistant
* ambiclimate to climate 1.0 (#24911 )
* Fix Alexa
* Lint
* Migrate zhong_hong
* Migrate tuya
* Migrate honeywell to new climate schema (#24257 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* Fix PRESET can be None
* apply PR#23913 from dev
* remove EU component, etc.
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* apply PR#23913 from dev
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* delint, move debug code
* away preset now working
* code tidy-up
* code tidy-up 2
* code tidy-up 3
* address issues #18932 , #15063
* address issues #18932 , #15063 - 2/2
* refactor MODE_AUTO to MODE_HEAT_COOL and use F not C
* add low/high to set_temp
* add low/high to set_temp 2
* add low/high to set_temp - delint
* run HA scripts
* port changes from PR #24402
* manual rebase
* manual rebase 2
* delint
* minor change
* remove SUPPORT_HVAC_ACTION
* Migrate radiotherm
* Convert touchline
* Migrate flexit
* Migrate nuheat
* Migrate maxcube
* Fix names maxcube const
* Migrate proliphix
* Migrate heatmiser
* Migrate fritzbox
* Migrate opentherm_gw
* Migrate venstar
* Migrate daikin
* Migrate modbus
* Fix elif
* Migrate Homematic IP Cloud to climate-1.0 (#24913 )
* hmip climate fix
* Update hvac_mode and preset_mode
* fix lint
* Fix lint
* Migrate generic_thermostat
* Migrate incomfort to new climate schema (#24915 )
* initial commit
* Update climate.py
* Migrate eq3btsmart
* Lint
* cleanup PRESET_MANUAL
* Migrate ecobee
* No conditional features
* KNX: Migrate climate component to new climate platform (#24931 )
* Migrate climate component
* Remove unused code
* Corrected line length
* Lint
* Lint
* fix tests
* Fix value
* Migrate geniushub to new climate schema (#24191 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* delinted
* delinted
* use latest client
* clean up mappings
* clean up mappings
* add duration to set_temperature
* add duration to set_temperature
* manual rebase
* tweak
* fix regression
* small fix
* fix rebase mixup
* address comments
* finish refactor
* fix regression
* tweak type hints
* delint
* manual rebase
* WIP: Fixes for honeywell migration to climate-1.0 (#24938 )
* add type hints
* code tidy-up
* Fixes for incomfort migration to climate-1.0 (#24936 )
* delint type hints
* no async unless await
* revert: no async unless await
* revert: no async unless await 2
* delint
* fix typo
* Fix homekit_controller on climate-1.0 (#24948 )
* Fix tests on climate-1.0 branch
* As part of climate-1.0, make state return the heating-cooling.current characteristic
* Fixes from review
* lint
* Fix imports
* Migrate stibel_eltron
* Fix lint
* Migrate coolmaster to climate 1.0 (#24967 )
* Migrate coolmaster to climate 1.0
* fix lint errors
* More lint fixes
* Fix demo to work with UI
* Migrate spider
* Demo update
* Updated frontend to 20190705.0
* Fix boost mode (#24980 )
* Prepare Netatmo for climate 1.0 (#24973 )
* Migration Netatmo
* Address comments
* Update climate.py
* Migrate ephember
* Migrate Sensibo
* Implemented review comments (#24942 )
* Migrate ESPHome
* Migrate MQTT
* Migrate Nest
* Migrate melissa
* Initial/partial migration of ST
* Migrate ST
* Remove Away mode (#24995 )
* Migrate evohome, cache access tokens (#24491 )
* add water_heater, add storage - initial commit
* add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
* Add Broker, Water Heater & Refactor
add missing code
desiderata
* update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
* bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
* support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
* store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
* update CODEOWNERS
* fix regression
* fix requirements
* migrate to climate-1.0
* tweaking
* de-lint
* TCS working? & delint
* tweaking
* TCS code finalised
* remove available() logic
* refactor _switchpoints()
* tidy up switchpoint code
* tweak
* teaking device_state_attributes
* some refactoring
* move PRESET_CUSTOM back to evohome
* move CONF_ACCESS_TOKEN_EXPIRES CONF_REFRESH_TOKEN back to evohome
* refactor SP code and dt conversion
* delinted
* delinted
* remove water_heater
* fix regression
* Migrate homekit
* Cleanup away mode
* Fix tests
* add helpers
* fix tests melissa
* Fix nehueat
* fix zwave
* add more tests
* fix deconz
* Fix climate test emulate_hue
* fix tests
* fix dyson tests
* fix demo with new layout
* fix honeywell
* Switch homekit_controller to use HVAC_MODE_HEAT_COOL instead of HVAC_MODE_AUTO (#25009 )
* Lint
* PyLint
* Pylint
* fix fritzbox tests
* Fix google
* Fix all tests
* Fix lint
* Fix auto for homekit like controler
* Fix lint
* fix lint
2019-07-08 14:00:24 +02:00
kbickar
7564d1fb52
Added toggle service to covers ( #23198 )
...
* Added toggle service to cover
* Added toggle tilt service and tilt closed property
* Added is_tilt_closed so tilt can be toggled
* Added toggle services
* Added toggle tilt service
* Removed spaces
* Added tests for tilt services
* Updated tests
* Added range conversion in comparison
* Added tests to cover broken areas
* Fixed open/close tilt values and added toggle function
* Added default toggle behavior using tilt_position of 0, reverted other changes
* blank space
* Added constants and swapped assert comparisons
* Fixed attribute name
* Added mqtt responses in test
* Added constants
* Space
* Fix tilt_optimistic flag being ignored if status topic set
* Added more tests
* Changed async toggle call
* Updated group tilt test
* Updated format of asserts
* Updated states calls
* Updated function variables
* merge fixes
* Added blank line
* Changed calls to async
* More async updates
2019-06-17 14:09:31 -07:00
Daniel Perna
b71baef7c8
Update pyhomematic ( #24368 )
2019-06-07 12:46:47 +02:00
P0L0
ca2a68217d
Added possibility to define the data type of Homematic ( #24078 )
...
* Homematic: Added possibility to define the data type for set_device_value
* Fixed coding style
* Fixed variable name
2019-05-24 17:28:45 +02:00
sander76
b2a1204bc5
Fix for battery device: new_device referenced before assignment. ( #23793 )
...
* Fix for battery device: new_device referenced before assignment.
* Fix buttons and switches mixup
* Update __init__.py
* Update binary_sensor.py
* Update __init__.py
* Update __init__.py
* Update binary_sensor.py
* Update __init__.py
* Update binary_sensor.py
* typo and indentation fixes
* low_bat and lowbat to uppercase.
2019-05-13 20:52:55 +02:00
sander76
8ef3c6d4d3
Add battery binary sensor to homematic ( #23067 )
...
* first proposal
* parameter rename
* retrigger CI
* remove separate binary sensor
* remove batter_sensor
* battery device distinction at binary sensor discovery
2019-05-09 10:38:51 -07:00
Ingo Theiss
0afa01609c
Pass configured host string instead of always forcing an ip-address ( #23164 )
...
* Pass host string instead of forcing an ip-address
Pass the configured host (https://www.home-assistant.io/components/homematic/#host ) instead of always forcing an ip-address. This is required to get SSL certificate validation working.
* Remove unused 'socket' import
2019-04-17 21:35:16 +02:00
trilu2000
b909e5823f
Homematic Lock: state_uncertain attribute, Homematic dimmer: Light service transition attribute ( #22928 )
...
* STATE_UNCERTAIN for Homematic Lock devices introduced
Homematic Lock devices provides an uncertain flag if the lock was opened manually an the lock is uncertain regards the status.
The other necassary functionality was implemented in pyhomematic by Daniel earlier...
* enabled attribute transition in light service for homematic dimmer devices
* Update light.py
* Revert "Update light.py"
This reverts commit f5565a006d
.
* Revert "Revert "Update light.py""
This reverts commit 2c264826ef
.
* fix for line too long error
* trailing whitespace
2019-04-17 14:30:53 +02:00
Pascal Vizeli
8a4dd093f8
Add pvizeli/danielperna84 to code owner of homematic ( #22989 )
...
* Add pvizeli/danielperna84 to code owner of homematic
* Update CODEOWNERS
* Run hassfest
2019-04-15 13:13:29 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Daniel Perna
0162e2abe5
Update pyhomematic to 0.1.58 ( #21989 )
2019-03-13 08:56:59 +01:00
Diogo Gomes
a99d83390e
Centrally define Energy Units (kWh and Wh) ( #21719 )
...
* centralize energy units kWh and Wh
* lint
2019-03-12 18:46:41 -07:00
Daniel Perna
b8eebda541
Update pyhomematic ( #21600 )
2019-03-02 17:42:51 -05:00
Diogo Gomes
ed2b9e5483
Centrally define Watt ( #21570 )
...
* centralize Watt definition
* lint
2019-03-02 11:29:59 +01:00
CV
8a026bf214
HomeMatic: Add error-attribute ( #21009 )
...
Error attribute has different meanings depending on device
2019-02-27 23:09:49 +01:00
Daniel Perna
27d598fff8
Update pyhomematic to 0.1.56 ( #21227 )
2019-02-20 00:31:46 +01:00
CV
ce7f678b9b
RSSI_PEER and RSSI_DEVICE are different things ( fixes #20900 ) ( #20902 )
...
* Fix #20900 : RSSI_PEER and RSSI_DEVICE are different things
This change is fixing issue #20900 .
Wireless actors are having two RSSI values. The way the component was programmed one of them was overwritten.
* Added deprecation comment
* Fixed long line
* Fix: pylint comment
* Lint
* flake8
* flake8 again
* Update __init__.py
2019-02-17 20:53:57 -06:00
Joakim Plate
c5de32e7b1
Climate const.py move ( #20945 )
...
* Move constants to const.py
* Import from const instead of climate
2019-02-14 20:34:43 +01:00
Fabian Affolter
3736120c6a
Update file header ( #21061 )
...
* Update file header
* Fix lint issue
* Fix lint issue
2019-02-14 16:01:46 +01:00
CV
5def64156f
Missing Binary Sensor ( #20921 )
...
TiltIP Binary Sensor is missing in the discover list.
2019-02-10 12:34:54 +01:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00
Daniel Perna
400aaf8a3a
Update pyhomematic to 0.1.55 ( #20397 )
2019-01-24 17:53:31 -08:00
Daniel Perna
4244ea78d0
Update pyhomematic 0.1.54 + small fixes ( #19667 )
...
* Update pyhomematic + small fix
* Add casting for ILLUMINATION
* Revert suggested fix
2019-01-01 16:25:57 +01:00
Daniel Perna
47320adcc6
Update pyhomematic to 0.1.53 ( #19056 )
2018-12-06 09:25:39 +01:00
Daniel Perna
fc4dd4e51f
Update pyhomematic to 0.1.52 and add features for lights ( #18499 )
...
* Update pyhomematic and add features for lights
* Lint
* Lint
* Update homematic.py
* Update homematic.py
2018-11-19 14:26:08 +01:00
Daniel Perna
73197c9a6c
Update pyhomematic to 0.1.51 ( #17491 )
2018-10-15 21:15:26 +02:00
Daniel Perna
9718a17351
Fix HomeMatic availability detection ( #17341 )
...
* Fix availability detection
2018-10-15 20:34:03 +02:00
noxhirsch
0dd3640c78
Adding support for HmIP-SLO (outdoor brightness sensor) ( #17413 )
...
* Add IPBrightnessSensor
* Add ILLUMINATION unit & icon
* Update homematic.py
* Added missing entry
2018-10-13 22:58:41 +02:00