Alex
6202c74e39
add a subset of HVAC_MODE_SETS ( #1875 )
...
iPAC-40 Portable Air Conditioning Heat Pump with Wifi and Remote Control. These devices have a limited option of modes. The available modes are Hot, Cold and Dry.
Co-authored-by: rospogrigio <49229287+rospogrigio@users.noreply.github.com >
2025-01-14 11:13:07 +01:00
dim145
1369245b15
fix: climate deprecated attributes
2025-01-14 09:37:19 +01:00
dim145
096568bd20
fix: remove useless test line in status_updated of light
2025-01-14 09:37:19 +01:00
dim145
65f3dafd04
fix: add color_mode property & adapt color mode method (is_xxx_mode)
2025-01-14 09:37:19 +01:00
dim145
b01861d53e
fix: add FanEntityFeature.TURN_OFF/ON to fans
2025-01-14 09:37:19 +01:00
dim145
42b6eb1fc1
refactor: define MODE_MANUAL
2025-01-14 09:37:19 +01:00
dim145
d57932e8e4
fix: do not use deprecated attr in light entity
2025-01-14 09:37:19 +01:00
dim145
e1fb0f2ccb
fix: do not use deprecated features
2025-01-14 09:37:19 +01:00
Andy Barratt
1da7b313d4
Add discovered HVAC and PRESET options ( #1177 )
...
* Add discovered HVAC and PRESET options
This commit adds the HVAC Action Set and Preset Set that I've discovered my Bödenwarme Underfloor Heating thermostat to be using as detailed here: https://github.com/rospogrigio/localtuya/issues/1175
* Add HVAC mode and action sets for climate entities
These are the actions and modes as reported by the Magnum smart wifi
thermostat: https://www.magnumheating.com/product/remote-control/
---------
Co-authored-by: Rutger Kerkhoff <rutger.kerkhoff@grafana.com >
2024-09-13 15:04:02 +02:00
Esteban Zapata Rojas
87d61eea6f
at init: Replace deprecated async entry setup call with suggestion.
...
Based on https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups/
it is possible to replace it with `async_forward_entry_setups` instead,
which accepts multiple platforms and it should be more efficient.
2024-07-29 18:04:05 +02:00
hello@theauthtoken.com
d2fa4dc2a0
added dict get() instead of assuming keys exist; now handles config_flow setup failures without crashing
2024-05-03 13:19:28 +02:00
Simon Tegelid
7b37f07fd0
Add support for more ac/fan modes ( #1389 )
...
* Add support for more ac/fan modes
* Replace deprecated constants with enums
* Add support for ClimateEntityFeature.TURN_{ON,OFF}
* Fix swing log message
---------
Co-authored-by: Simon Tegelid <simon.tegelid@bitvis.io >
2024-04-15 14:28:34 +02:00
Elad Bar
9c0e733804
Replaced SUPPORT_* with enums, set minimum HA version in HACS configuration to 2024.1.0
2024-01-05 13:29:06 +02:00
rospogrigio
1c173d949a
Merge branch 'master' into climate-minmax-default-temp-when-in-F-fix
2023-09-22 17:15:19 +02:00
rospogrigio
bf8f2bb06c
Merge branch 'master' into master
2023-09-16 13:03:45 +02:00
rospogrigio
137ff78874
Merge branch 'master' into offline_init
2023-09-12 17:10:50 +02:00
Luke Bonaccorsi
23b0cfde6d
Allow port reuse so that other integrations can read the same port ( #1481 )
...
Co-authored-by: rospogrigio <49229287+rospogrigio@users.noreply.github.com >
2023-09-12 17:10:28 +02:00
rospogrigio
fa8217cdfb
Merge branch 'master' into offline_init
2023-09-12 13:28:45 +02:00
dulyts
25105427b8
Handle 3.4 protocol, fix CI ( #1251 )
...
* Use refresh interval in version 3.4
* Scan interval convert to integer
* Try to fix CI
* Try to fix CI
2023-09-12 13:24:39 +02:00
nu
b3afa14095
fix bug when climate entity is using default min/max temp and temp unit is F
...
The default min/max temps are in C but when the climate entity is set up with F this will cause incorrect boundary check and an inability to change the temperature from the home assistant entity UI widget.
2023-08-17 23:59:53 -04:00
Neal Joslin
62011a9d6b
Fixed initialization with API but no internet.
2023-07-25 23:17:59 -04:00
Ovidiu D. Nițan
2b3ade04c7
Merge branch 'rospogrigio:master' into master
2023-07-17 15:43:12 +03:00
rospogrigio
ba5670fc1d
Fixing pylint error
2023-06-07 12:23:41 +02:00
rospogrigio
9d5984e4cf
Fix for socket.send() exceptions in the logs
2023-06-07 11:59:31 +02:00
rospogrigio
53e1ad8488
Updated manifest.json
2023-05-24 14:20:18 +02:00
rospogrigio
5f9141790d
Fixed tox errors
2023-05-24 11:50:27 +02:00
rospogrigio
928f8e985a
Merge branch 'master' into feat-add-entities
2023-05-24 11:27:28 +02:00
rospogrigio
9d92cadef3
Reduced logging level for 'Command %d timed out waiting for sequence number'; set v.5.1.0
2023-05-24 11:24:09 +02:00
rospogrigio
9df62b79db
Merge branch 'master' into feat-add-entities
2023-05-24 11:12:09 +02:00
oven-lab
2dbff47505
Alphabetize manifest.json
...
Alphabetized manifest.json according to home assistant requirements.
2023-05-20 14:15:08 +02:00
oven-lab
861dcc5ffd
Update manifest.json
2023-05-20 13:58:52 +02:00
oven-lab
1691c5f296
Fix depreciated async_get_registry
2023-05-20 10:05:49 +02:00
GaoJing
7cb065bf51
revert the default region
2023-03-16 16:06:58 +08:00
GaoJing
904f4feb6c
Add entities during 'Edit a device'
2023-03-16 15:50:31 +08:00
rospogrigio
6b9f3df555
Tox fixes, reduced to 3.9 only
2023-02-07 17:54:02 +01:00
rospogrigio
fa301d1ad6
Fix for not reconnecting after 'giving up'
2023-02-07 17:19:27 +01:00
rospogrigio
6d0e407e7e
Tox fixes
2023-02-07 09:57:27 +01:00
rospogrigio
999d50ee4e
Merge branch 'stability_fixes' of github.com:rospogrigio/localtuya-homeassistant into stability_fixes
2023-02-06 10:28:42 +01:00
rospogrigio
c909349cde
Improved logging
2023-02-06 10:28:31 +01:00
rospogrigio
a47e7f7c6b
Merge branch 'stability_fixes' of github.com:rospogrigio/localtuya into stability_fixes
2023-02-06 09:28:29 +00:00
rospogrigio
06d54f9c92
Merge branch 'stability_fixes' of github.com:rospogrigio/localtuya into stability_fixes
2023-02-06 10:25:34 +01:00
rospogrigio
cf3221d4c8
Introduced update of local_key when editing a device
2023-02-06 10:17:57 +01:00
rospogrigio
cd97287af3
Merge branch 'stability_fixes' of github.com:rospogrigio/localtuya-homeassistant into stability_fixes
2023-01-29 18:26:11 +01:00
rospogrigio
6371c979f6
Merge branch 'CloCkWeRX-fix-casting-issue' into stability_fixes
2023-01-29 18:25:19 +01:00
rospogrigio
86eabbdcdc
Merge branch 'sibowler-fix_semaphore_release_error' into stability_fixes
2023-01-28 13:41:03 +00:00
rospogrigio
adab66d0a9
Merge branch 'sibowler-fix_semaphore_release_error' into stability_fixes
2023-01-24 17:58:10 +01:00
rospogrigio
7a97fdfe97
Improved stability and Fix local_key update to not be thwarted by retries
2023-01-24 17:03:19 +01:00
rospogrigio
613bde4d6a
Improved logging
2023-01-24 17:02:10 +01:00
Daniel O'Connor
77ac5a86b6
Swap to int
2023-01-23 21:50:31 +10:30
Daniel O'Connor
8ff194ede4
Adjust input to avoid putting a string into an int
2023-01-23 21:45:42 +10:30