Commit Graph

40 Commits

Author SHA1 Message Date
Mehmet Can 91c95149a3 V2.0 2023-11-21 18:45:04 +00:00
MindrustUK 7d57078906 Update 'neohubapi/neohub.py'
Removed unneeded enumeration
2023-05-04 17:53:41 +01:00
MindrustUK 3ad3a73bb8 Adding Engineering data to Live Data
Adds Engineers data to Live Data to be surfaced in Home-Assistant to be able to correctly act against DEVICE_TYPE.
2023-05-04 17:42:51 +01:00
Lawrence Akka 879e43789d Fix typo 2022-12-01 11:21:56 +00:00
Lawrence Akka 92df4f9722 Allow use of new websocket connection method 2022-11-30 11:19:56 +00:00
ribbal 2e5cc5ecf4 Remove int conversion of preheat_attribute 2022-01-12 22:43:18 +00:00
Andrius Štikonas 4d6e2441db Fix copy-paste error with floor_limit
Closes #10
2022-01-07 23:33:56 +00:00
Balbir Boughan 97b5a395db Fix name property for heatmiser Repeaters 2022-01-06 18:21:02 +00:00
Roberto Cosenza 14c5271ecd When the hub responds with an error, print the message the we sent so that we can debug more easily where the problem is. 2021-07-08 12:17:25 +00:00
Roberto Cosenza f8803a7b15 Lint and fix some subtle bugs 2021-06-23 11:58:21 +01:00
Roberto Cosenza dbda9b4157 Adding support to set hc mode 2021-06-23 11:58:21 +01:00
Andrius Štikonas add4dfea10 Fix linter. 2021-06-19 23:07:18 +01:00
Roberto Cosenza 43dbc27c0f Add support to write the 'cooling temperature' 2021-06-19 22:24:09 +01:00
Dave O'Connor e138bd95cd Set default timeout to 60s 2021-03-30 11:52:13 +00:00
Anton Tolchanov 18292bf629 Add retries, close connection on timeout (fix #6) 2021-02-09 09:37:33 +00:00
Dave O'Connor e769da03f7 Add error checking/exception to connection code.
Add a timeout for async read/write to the stream.
2021-02-07 19:46:35 +00:00
Dave O'Connor 53a3d0b5a2 Specify type hints with defaults in NeoHub.
Implement the three methods with optional datetimes.

Implement permit_join with optional timeout.
2021-01-28 19:12:20 +00:00
Dave O'Connor e10b1de9ae Pass the RHS of the enum value rather than the whole element. 2021-01-24 17:42:41 +00:00
Dave O'Connor 1f44cde9a3 Add flake8 lint CI pipeline and fix existing code for compliance. 2021-01-23 21:54:55 +00:00
Dave O'Connor 22d3be4131 Merge branch 'master' of gitlab.com:neohubapi/neohubapi into neohub_cli 2021-01-23 12:48:56 +00:00
Dave O'Connor 1756eb86d4 Add our own exceptions, and use throughout for genuine usage errors. 2021-01-23 12:20:29 +00:00
Dave O'Connor 69819d81b2 Prettify output, add __str__ to neostat class. 2021-01-21 11:16:39 +00:00
Andrius Štikonas 54362b229c Add attribution to neostat.py too. 2021-01-19 21:53:47 +00:00
Dave O'Connor aa6020c621 Allow for the hub not returning some of our desired attributes. 2021-01-19 21:51:48 +00:00
Dave O'Connor b54e00fbe3 Add none-checking to schedule_format_int_to_enum 2021-01-19 14:04:07 +00:00
Andrius Štikonas 27b997df37 Add set_timer_hold function to netostat class. 2021-01-03 13:47:33 +00:00
Andrius Štikonas 278867c4fc Rename set_temp to set_target_temperature. 2021-01-03 13:42:52 +00:00
Andrius Štikonas 5fc952110e Fix incompletely renamed set_frost function. 2021-01-03 13:39:19 +00:00
Andrius Štikonas 2fc8544a34 Check value and not just presense of TIMECLOCK and THERMOSTAT attributes. 2021-01-03 13:34:55 +00:00
Andrius Štikonas 7893ed66fd Initial support for timeclocks. 2021-01-02 22:42:56 +00:00
Andrius Štikonas 65b9667d99 Fix parsing of HOLD_TIME attribute which can be larger than 24h. 2021-01-02 17:14:10 +00:00
Andrius Štikonas db381d04e4 Move functionality of neohub.connect() into __init__. 2020-12-31 23:42:02 +00:00
Andrius Štikonas da10de2d7a Rename set_temp method to set_target_temperature. 2020-12-30 12:42:01 +00:00
Andrius Štikonas 9e59d5254b Fix rate_of_change function. 2020-12-27 20:30:12 +00:00
Andrius Štikonas 0d5074fd4e Remove commented out get_zones function. 2020-12-27 20:22:52 +00:00
Andrius Štikonas 3d839aeaf9 Rename holiday to set_holiday. 2020-12-27 20:21:22 +00:00
Andrius Štikonas fed09bdaff Add dependency on async_property. 2020-12-27 20:18:22 +00:00
Andrius Štikonas c9041e7caf Add target_temperature_step funtion and fix firmware version discovery. 2020-12-27 20:01:33 +00:00
Andrius Štikonas 464aa195f9 Fix imports after rearranging directory structure. 2020-12-27 19:06:12 +00:00
Andrius Štikonas c45fb963c9 Rearrange directory structure. 2020-12-27 18:31:26 +00:00