Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
cgtobi
851c1711d4
Reduce log spam ( #33592 )
...
* Reduce log spam
* Reduce log spam
* Revert
2020-04-03 14:01:24 -07:00
cgtobi
23e091696e
Fix netatmo device unavailable and services ( #33509 )
...
* Handle unavailabe entities
* Remove some logging
* Set valve to lowest temp when turned off
* Remove some logging
* Address comments
* Report entity as connected if update is successful
* Fix stupidness
* Fix
2020-04-02 17:35:25 +02:00
cgtobi
6ab14a3729
Fix discovery issue with netatmo climate devices ( #33040 )
2020-03-20 15:20:42 +01:00
cgtobi
50c32d57f5
Remove Netatmo binary sensor ( #32673 )
...
* Clean up for access scope review
* Remove deleted from coverage omit list
2020-03-11 09:25:19 -07:00
cgtobi
e793ed9ab0
Refactor Netatmo integration ( #29851 )
...
* Refactor to use ids in data class
* Use station_id
* Refactor Netatmo to use oauth
* Remove old code
* Clean up
* Clean up
* Clean up
* Refactor binary sensor
* Add initial light implementation
* Add discovery
* Add set schedule service back in
* Add discovery via homekit
* More work on the light
* Fix set schedule service
* Clean up
* Remove unnecessary code
* Add support for multiple entities/accounts
* Fix MANUFACTURER typo
* Remove multiline inline if statement
* Only add tags when camera type is welcome
* Remove on/off as it's currently broken
* Fix camera turn_on/off
* Fix debug message
* Refactor some camera code
* Refactor camera methods
* Remove old code
* Rename method
* Update persons regularly
* Remove unused code
* Refactor method
* Fix isort
* Add english strings
* Catch NoDevice exception
* Fix unique id and only add sensors for tags if present
* Address comments
* Remove ToDo comment
* Add set_light_auto back in
* Add debug info
* Fix multiple camera issue
* Move camera light service to camera
* Only allow camera entities
* Make test pass
* Upgrade pyatmo module to 3.2.0
* Update requirements
* Remove list comprehension
* Remove guideline violating code
* Remove stale code
* Rename devices to entities
* Remove light platform
* Remove commented code
* Exclude files from coverage
* Remove unused code
* Fix unique id
* Address comments
* Fix comments
* Exclude sensor as well
* Add another test
* Use core interfaces
2020-01-11 12:20:00 +01:00
Bas Nijholt
c54135486e
use isort to sort imports according to PEP8 for netatmo ( #29682 )
2019-12-09 11:50:59 +01:00
Quentame
7718d61cd7
Move imports in netatmo component ( #27360 )
2019-10-10 00:22:10 -07:00
Franck Nijhof
1c5e0123c9
Use literal string interpolation in integrations N-Q (f-strings) ( #26391 )
2019-09-03 11:35:00 -07:00
cgtobi
d89e8ead61
Fix Netatmo climate issue ( #25830 )
...
* Bump pyatmo to v2.2.1
* Fix issue 25778
2019-08-10 15:49:29 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
4bef2412d2
Netatmo climate refactor ( #25457 )
...
* Refactor climate component to use home id rather than name
* Bump pyatmo version
* Add new exception
* Update pyatmo version
2019-07-31 11:13:12 -07:00
cgtobi
b0b2b0d654
Fix preset service call ( #25358 )
2019-07-20 17:58:06 -07:00
cgtobi
c7ebd109b8
Make presets prettier ( #25245 )
2019-07-18 10:27:04 -07:00
cgtobi
25285ef6a7
Fix Netatmo climate battery level ( #25165 )
...
* Interpolate battery level
* Sort list
2019-07-16 04:27:28 +02:00
cgtobi
831564784a
Add Netatmo climate battery level ( #25143 )
...
* Add battery level sensor
* Only update battery level if lower or nonexistent
2019-07-15 09:46:48 +02:00
cgtobi
a9980c8be0
Fix Netatmo climate issue when device out of reach ( #25096 )
...
* Fix valve/thermostat out of reach
* Fix boost for valves
* Set netatmo default max temp to 30
* Remove unnecessary get
* Remove unnecessary default value
* Readd get
2019-07-12 17:43:18 +02:00
cgtobi
07b635e7aa
Fix Netatmo climate presets ( #25029 )
...
* Fix netatmo presets
* Remove off mode for valves
* Revert usage of global const
* Flip values
* Remove try...except block
2019-07-09 10:40:02 +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
cgtobi
da57f92796
Handle timeouts gracefully ( #24752 )
2019-06-25 08:57:43 -07:00
cgtobi
9ca5bdda7f
Add exception handling for Netatmo climate ( #24311 )
...
* Add exception handling
* Make pylint happy
2019-06-06 09:30:16 +02:00
cgtobi
b84ba93c42
Refactor netatmo to use hass.data ( #23429 )
...
* Refactor NETATMO_AUTH to use hass.data
* Minor cleanup
* Rename conf to auth and other suggestions by Martin
* Revert webhook name change
* Rename constant
* Move auth
* Don't use hass.data.get()
* Fix auth string
2019-04-26 17:15:37 +02: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
c94b031db1
Fix unnecessary hass.components interaction ( #23029 )
...
* Fix wemo
* Fix bloomsky
* Fix netatmo
* Fix one more reference
2019-04-11 23:37:45 -07:00
shanbs
0d46e2c0b5
Fix the crash due to absence of the "default_home" in HomeData from pyatmo (netatmo/climate) ( #22363 )
2019-03-25 01:31:22 +01:00
cgtobi
018a5d5c1f
Bring back the boiler status ( #22021 )
2019-03-14 10:18:25 -07:00
Daniel Høyer Iversen
7a7080055e
Netatmo, handle missing thermostat devices ( #21651 )
2019-03-04 15:54:21 -08:00
shanbs
c25cbccca9
Return Netatmo climate operation_mode instead of boiler status ( #21633 )
...
* Merge the devices into one list and add into entries at once; Return operation_mode instead of boiler status.
* Removing property operation_mode
2019-03-04 02:42:29 +01:00
shanbs
18372ad81b
Added support for multiple Netatmo thermostats/valves ( #19407 )
...
* climate/netatmo: Added support for muletiple thermostats/valves
* Adjusted the update interval throttle to 10 seconds
* Avoid returning 'homes' without 'therm_schedules'
* Requires home to have 'modules' as well as 'therm_schedules'; Using pyatmo 1.7
* Support multiple homes
* Fix nest level too deep issue
* Fix crashing bug when discovery is true
* Fix crashing bug when discovery is true
* Modifications according to review comments
* Resolve format issue
* Fix mode name issue
* Revisions according to review's suggestions
* Revisions according to review's comments
* Revisions according to review's comments
2019-03-02 19:51:42 -08: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
161c368c9d
Update file header ( #21054 )
...
* Update file header
* Update __init__.py
2019-02-13 20:35:12 -08: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