Paulus Schoutsen
b27e05fc8d
Use capability attributes in climate ( #30544 )
...
Co-authored-by: Jc2k <john.carr@unrouted.co.uk>
2020-01-07 14:14:46 +01:00
Bas Nijholt
954813b478
use isort to sort imports according to PEP8 for climate ( #29625 )
2019-12-08 22:25:01 +05:30
Paulus Schoutsen
02d9ed5e36
Do not select all entities when omitting entity ID in service call ( #29178 )
...
* Do not select all entities when omitting entity ID
* Address comments Matthew
* Require either area_id or entity_id
* Fix tests
* Fix test
2019-12-02 16:23:12 -08:00
Paulus Schoutsen
94675ca5a7
Mark entity abc ( #28869 )
...
* Mark entity abc
* Use abstractmethod in climate
* Lint
2019-11-19 13:42:09 -06:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Paulus Schoutsen
48660585f1
Add climate device triggers ( #28544 )
...
* Add climate device triggers
* Test capabilities
2019-11-07 16:28:45 +01:00
Paulus Schoutsen
cf90e49b50
Make reproduce state use platform instead of rely on function ( #25856 )
...
* Make reproduce state use platform instead of rely on function
* Fix types
* address comment Martin.
2019-08-11 20:03:21 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Aaron Bach
2850f9d19e
Add area support to climate service schemas ( #25441 )
...
* Add area support to climate service schemas
* Incorrect Voluptuous usage
* Fix typo
2019-07-23 14:33:41 -06:00
Paulus Schoutsen
50d4921d0a
Introduce PRESET_NONE for climate ( #25360 )
...
* Introduce PRESET_NONE for climate
* Require preset mode to be a string
* Lint
* Fix tests
2019-07-21 11:00:42 -07:00
Paulus Schoutsen
971223de19
Only include target temp if has right support flag ( #25193 )
...
* Only include target temp if has right support flag
* Remove comma
2019-07-17 12:09:44 -07:00
Alexei Chetroi
e8fd01bea5
Fix climate is_aux_heat type hint. ( #25170 )
2019-07-16 09:32:09 +02:00
Pascal Vizeli
d47905d119
Add support for on/off climate ( #25026 )
...
* Add support for on/off climate
* address comments
* Add test for sync overwrite
* Add more tests
2019-07-11 15:28:11 -07: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
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
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
Joakim Plate
3bb5caabe2
Reproduce states by letting each component opt in on handling state recovery itself ( #18700 )
...
* Move group to it's own setup
* Let each component to handle restore of state
* Move constants for climate into const.py
For now import all into __init__.py to keep backword compat
* Move media plyaer constants to const.py file
For now import all constants into __init__.py to keep
backword compatibility
* Move media player to it's own file
* Move climate to it's own file
* Remove ecobee service from common components
BREAKING CHANGE
* Add tests for climate
* Add test for media_player
* Make sure we clone timestamps of state
* Add tests for groups
* Remove old tests for media player, it's handled by other tests
* Add tests for calls to component functions
* Add docstring for climate const
* Add docstring for media_player const
* Explicitly import constants in climate
* Explicitly import constants in media_player
* Add period to climate const
* Add period to media_player const
* Fix some lint errors in climate
* Fix some lint errors in media_player
* Fix lint warnings on climate tests
* Fix lint warnings on group tests
* Fix lint warnings on media_player tests
* Fix lint warnings on state tests
* Adjust indent for state tests
2019-02-05 17:25:27 -08:00
emontnemery
b1faad0a50
Use PLATFORM_SCHEMA_BASE as base schema for additional components. ( #20578 )
...
* Disable extra=vol.ALLOW_EXTRA for additional platforms.
* Remove PLATFORM_SCHEMA_2
* Add entity_namespace to base platform schema
2019-02-04 21:52:19 -08:00
Daniel Høyer Iversen
1bd31e3459
Change STATE_UNKOWN to None ( #20337 )
...
* Change STATE_UNKOWN to None
* Change STATE_UNKOWN to None
* tests
* tests
* tests
* tests
* tests
* style
* fix comments
* fix comments
* update fan test
2019-01-24 08:20:20 +01:00
Paulus Schoutsen
8ea0a8d40b
RFC: Deprecate auto target all for services and introduce entity_id: * ( #19006 )
...
* Deprecate auto target all
* Match on word 'all'
2018-12-13 10:07:59 +01:00
kennedyshead
39412dc930
Adding current_humidity to attributes if its not None. ( #18261 )
...
* Adding current humidity if not None
* Removed the logic in supported feature
* More appropriate placement
2018-11-06 15:18:46 +01:00
William Scanlon
71ab8a9b1a
Moved Wink water heater from climate to water heater. ( #17504 )
...
* Moved Wink water heater from climate to water heater.
* Remove deprecated states from Tuya
* Update toon.py
* Update toon.py
* Lint
2018-10-16 11:27:01 +02:00
cdce8p
fa98a27df7
Remove service helper (2) ( #16863 )
...
* alarm_control_panel
* automation
* camera
* climate
* counter
* fan
* Add legacy notes
* Fix tests
2018-09-26 09:49:55 +02:00
Jerad Meisner
ae63980152
Remove unit_of_measurement from climate entities ( #16012 )
...
* Remove unit_of_measurement from climate base class.
* Updated google_assistant component and tests to use core temp units.
* Fixes
* Convert Alexa component to use core temp units for climate entities.
* Fix tests.
* Converted prometheus component.
* Remove unit_of_measurement from homekit thermostat tests.
* Small fix.
2018-08-22 09:17:29 +02:00
Ville Skyttä
dbd0763f83
Grammar and spelling fixes ( #16065 )
2018-08-19 22:29:08 +02:00
Paulus Schoutsen
1ff1639cef
More entity service ( #15998 )
...
* Camera use entity service
* Convert climate services
* Convert light
* Convert media player
* Migrate fan
2018-08-16 14:28:59 +02:00
Ville Skyttä
b92350fb55
Lint cleanup ( #15103 )
...
* Remove unneeded inline pylint disables
* Remove unneeded noqa's
* Use symbol names instead of message ids in inline pylint disables
2018-06-25 13:05:07 -04:00
Paulus Schoutsen
e014a84215
Nest config flow ( #14921 )
...
* Move nest to dir based component
* Add config flow for Nest
* Load Nest platforms via config entry
* Add tests for Nest config flow
* Import existing access tokens as config entries
* Lint
* Update coverage
* Update translation
* Fix tests
* Address strings
* Use python-nest token resolution
* Lint
* Do not do I/O inside constructor
* Lint
* Update test requirements
2018-06-13 11:14:52 -04:00
Philip Rosenberg-Watt
cc264f415e
Fix PEP-8 issues
2018-05-31 11:32:31 -06:00
Philip Rosenberg-Watt
dae90abb34
Change climate default limits to constants
...
Min and max temp and humidity are now defined in climate __init__.py
and are available for import in subclasses.
2018-05-31 11:23:04 -06:00
Heiko Thiery
9487bd455a
Add AVM fritzbox smarthome component ( #10688 )
...
* initial commit
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix failed flake8 tests
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* add fritzhome files to .coveragerc
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix wrong module import
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove too general exception
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* incorporate review comments
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove blank line
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix wrong import
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix issue with operations
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* incorporate review comments
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove unused attributes
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* adapt to supported_features
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* change checking of kwargs to canonical way
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove unused self._state
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Don't overwrite the platform domain
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Remove parenthesis from import without line break
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Do not pass hass to the components on init
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Remove check for available in current_operation
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Remove redundant logging message
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Add blank line between standard and hass imports
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Use states from base climate component
Also add the new state STATE_MANUAL to the base.
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* add reconnect when access failed
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* add device specific attributes
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* group the imports from the same module
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* change domain data to fritz instance
This let us use the fritz instance to reconnect from platform without accessing
protected attributes.
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix typo
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* rename platform from fritzhome to fritzbox
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* Add device_state_attributes
Add attributes to have compatiblity to fritzdect.
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* add support for multiple fritzboxes
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix pylint issues
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fixed pyfritzhome version
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix import
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* fix component name in requirements_all.txt
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* upgrade pyfritzhome to 0.3.7
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* rename platform/component also in .coveragerc
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* use DEFAULT_HOST when no host is in dict
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* add config schema for dict
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove check
The check since since the config scheme takes case.
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* add check for empty devices
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* use standard attribute from base class
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove STATE_MANUAL from operation list
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove set DEFAULT_HOST
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* don't pass hass to the SwitchDevice
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove unsed DEFAULT_HOST
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* refactored device attributes
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* add info output if no fritzbox is configured
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* small fixes according review comment
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove unneeded default value
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove non required code from try..except block
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* line break for line that is too long
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
* remove too many empty lines
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
2018-04-17 12:40:36 +02:00
Julius Mittenzwei
3713dfe139
Removing asyncio.coroutine syntax from some components ( #12507 )
...
* Removing asyncio.coroutine syntax (first steps)
* merge conflict
* fixed small bug
* pylint
2018-02-24 10:24:33 -08:00
Otto Winter
678f284015
Upgrade pylint to 1.8.2 ( #12274 )
...
* Upgrade pylint to 1.8.1
* Fix no-else-return
* Fix bad-whitespace
* Fix too-many-nested-blocks
* Fix raising-format-tuple
See https://github.com/PyCQA/pylint/blob/master/doc/whatsnew/1.8.rst
* Fix len-as-condition
* Fix logging-not-lazy
Not sure about that TEMP_CELSIUS though, but internally it's probably just like if you concatenated any other (variable) string
* Fix stop-iteration-return
* Fix useless-super-delegation
* Fix trailing-comma-tuple
Both of these seem to simply be bugs:
* Nest: The value of self._humidity never seems to be used anywhere
* Dovado: The called API method seems to expect a "normal" number
* Fix redefined-argument-from-local
* Fix consider-using-enumerate
* Fix wrong-import-order
* Fix arguments-differ
* Fix missed no-else-return
* Fix no-member and related
* Fix signatures-differ
* Revert "Upgrade pylint to 1.8.1"
This reverts commit af78aa00f125a7d34add97b9d50c14db48412211.
* Fix arguments-differ
* except for device_tracker
* Cleanup
* Fix test using positional argument
* Fix line too long
I forgot to run flake8 - shame on me... 🙃
* Fix bad-option-value for 1.6.5
* Fix arguments-differ for device_tracker
* Upgrade pylint to 1.8.2
* 👕 Fix missed no-member
2018-02-11 09:20:28 -08:00
Frantz
676c95ed2d
[SMALL-PR] Don't make climate calls if feature is not supported ( #11841 )
...
* Don't make climate calls if feature is not supported
* Implemented suggested code review changes & cleanup
* Fix demo climate unit tests
2018-01-24 09:35:31 +01:00
Anders Melchiorsen
8267a21bfe
Lazy loading of service descriptions ( #11479 )
...
* Lazy loading of service descriptions
* Fix tests
* Load YAML in executor
* Return a copy of available services to allow mutations
* Remove lint
* Add zha/services.yaml
* Only cache descriptions for known services
* Remove lint
* Remove description loading during service registration
* Remove description parameter from async_register
* Test async_get_all_descriptions
* Remove lint
* Fix typos from multi-edit
* Remove unused arguments
* Remove unused import os
* Remove unused import os, part 2
* Remove unneeded coroutine decorator
* Only use executor for loading files
* Cleanups suggested in review
* Increase test coverage
* Fix races in existing tests
2018-01-07 14:54:16 -08:00
Andrey
eb00e54eba
Add on/off supported feature to climate ( #11379 )
...
* Add on/off supported feature to climate
* Lint
2018-01-03 23:10:54 +01:00
Lukas Barth
373508693a
Climate component: add supported_features ( #10658 )
...
* Implement supported_features for the climate component
* Test supported features
* Convert generic thermostat to supported features
* Max / min temperature are not features
* Fix lint
* Min / max humidity are not features
* Linting
* Remove current temperature / humidity
* Move c-hacker-style constants to boring integers. Booo!
* Refactor all the climate platforms to use the new supported_features
* Force all climate platforms to implement supported_features
* Fix mistakes
* Adapt hive platform
* Move flags into a constant
* Calm the hound
2017-11-29 11:01:28 +01:00
Fabian Affolter
d25f676711
Move temperature display helper from components to helpers ( #10555 )
2017-11-14 10:36:18 +01:00
Pascal Vizeli
c1b197419d
Fix async probs ( #9924 )
...
* Update entity.py
* Update entity_component.py
* Update entity_component.py
* Update __init__.py
* Update entity_component.py
* Update entity_component.py
* Update entity.py
* cleanup entity
* Update entity_component.py
* Update entity_component.py
* Fix names & comments / fix tests
* Revert deadlock protection
* Add tests for entity
* Add test fix name
* Update other code
* Fix lint
* Remove restore state from template entities
* Lint
2017-10-19 10:56:25 +02:00
William Scanlon
312de6b3a3
New Wink services. pair new device, rename, and delete, add new lock key code. Add water heater support ( #9303 )
...
* Pair new device, rename, delete, and lock key code services. Also add water heater support.
* Fixed tox
2017-09-26 23:17:55 -07:00
Michael Prokop
08b0629eca
Fix a bunch of typos ( #9545 )
...
s/Addres /Address /
s/Chnage/Change/
s/Converion/Conversion/
s/Supressing/Suppressing/
s/agains /against /
s/allready/already/
s/analagous/analogous/
s/aquired/acquired/
s/arbitray/arbitrary/
s/argment/argument/
s/aroung/around/
s/attibute/attribute/
s/auxillary/auxiliary/
s/befor /before /
s/commmand/command/
s/conatin/contain/
s/conection/connection/
s/coresponding/corresponding/
s/entites/entities/
s/enviroment/environment/
s/everyhing/everything/
s/expected expected/expected/
s/explicity/explicitly/
s/formated/formatted/
s/incomming/incoming/
s/informations/information/
s/inital/initial/
s/inteface/interface/
s/interupt/interrupt/
s/mimick/mimic/
s/mulitple/multiple/
s/multible/multiple/
s/occured/occurred/
s/occuring/occurring/
s/overrided/overridden/
s/overriden/overridden/
s/platfrom/platform/
s/positon/position/
s/progess/progress/
s/recieved/received/
s/reciever/receiver/
s/recieving/receiving/
s/reponse/response/
s/representaion/representation/
s/resgister/register/
s/retrive/retrieve/
s/reuqests/requests/
s/segements/segments/
s/seperated/separated/
s/sheduled/scheduled/
s/succesfully/successfully/
s/suppport/support/
s/targetting/targeting/
s/thats/that's/
s/the the/the/
s/unkown/unknown/
s/verison/version/
s/while loggin out/while logging out/
2017-09-23 17:15:46 +02:00
Martin Hjelmare
fbb6782081
Fix SET_TEMPERATURE_SCHEMA in climate component ( #8879 )
...
* Require either temperature or high/low target temperatures.
* Add tests.
2017-08-12 09:39:05 -07:00
Paulus Schoutsen
d29bdddaa7
Add bind_hass to components ( #8502 )
...
* Add bind_hass to components
* Add bind_hass to group
2017-07-16 10:14:46 -07:00
Paulus Schoutsen
46e030662d
Fix pylint 1.7.2 no-else-return issues ( #8361 )
...
* Fix pylint 1.7.2 no-else-return issues
* Update tomato.py
2017-07-05 23:30:01 -07:00
Sean Dague
a55d8776ff
Throw exception if _convert_for_display called on non Number ( #8178 )
...
In trying to come up for some reason behind issue #6365 (which only
happens on some platforms) the best guess is that some components are
managing to get a string value all the way up to the Polymer UI for
temperature, which then an increment of +0.5 is treating as a string
concat operation instead of addition. So 20 + 0.5 becomes 200.5 hits
the max thermostat value.
This will throw an exception if the climate temp value isn't a
number. That's going to turn a soft fail into a hard fail on
potentially a number of platforms. Mysensors is one of the platforms
that was reported as having the issue. So put some explicit float
casts where that might be coming from as well.
2017-06-23 23:03:37 -07:00
Paulus Schoutsen
f43db3c615
Replace executor with async_add_job ( #7658 )
...
* Remove executor
* Lint
* Lint
* Fix tests
2017-05-26 08:28:07 -07:00
Andrey
11dc7246af
Add Sensibo climate platform ( #7379 )
...
* Add Sensibo climate platform
* Force update after running a service
* Add sensibo to .coveragerc
* Use 10s timeout
* Fix schema. Remove print.
* Better handle unit conversions.
2017-05-02 17:23:36 -07:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07:00
aufano
2ce8c2f80e
Fix current_temperature is rounded ( #6960 )
...
* Fix current_temperature is rounded
* fix Unnecessary parens after 'if'
2017-04-06 17:40:59 -07:00