epenet
116733e1a5
Rename onewire base entity module ( #126129 )
...
Move onewire base entity to separate module
2024-09-18 11:42:16 +02:00
epenet
8291769361
Store runtime data in entry in onewire ( #116450 )
...
* Store runtime data in entry in onewire
* Adjust
2024-04-30 15:55:20 +02:00
epenet
c1572d9600
Handle invalid device type in onewire ( #116153 )
...
* Make device type optional in onewire
* Add comment
2024-04-27 09:26:26 +02:00
Sid
895f73d8e4
Enable Ruff A001 ( #115654 )
2024-04-21 23:25:27 +02:00
definitio
6f19744469
Add A6 family code for DS2438 1-Wire sensor ( #112844 )
...
* Add A6 family code for DS2438
* Add tests
* Fix switch
* Apply code review suggestion
* Add comments
2024-03-12 08:06:02 +01:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] ( #112702 )
2024-03-08 15:04:07 +01:00
Jan Rieger
a584429ce0
Use translation placeholders in 1-Wire ( #109120 )
2024-02-02 12:37:23 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
epenet
17b53d7acb
Remove leftover logging in onewire ( #105986 )
...
Remove leftover logging
2023-12-19 00:23:51 +01:00
Erik Montnemery
7a9e303e20
Avoid mutating entity descriptions in onewire ( #105970 )
2023-12-18 13:58:57 +01:00
Joost Lekkerkerker
54ed8fc914
Use device class translations for 1-wire ( #98813 )
2023-08-24 22:19:29 +02:00
epenet
2d1bb6135c
Use entity name translations in 1-wire ( #90696 )
...
* Use entity name translations in onewire
* Adjust binary sensors
* Adjust switches
* Cleanup
2023-04-03 13:07:02 -04:00
epenet
783e6fdd36
Ignore TAI8570 errors in onewire ( #87154 )
2023-02-03 09:11:54 -05:00
epenet
d60fe7e7cd
Use UnitOfTemperature in integrations (n-o) ( #84306 )
2022-12-20 18:39:09 +01:00
epenet
f988a1164d
Use UnitOfPressure in integrations ( #84230 )
2022-12-19 21:41:46 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations ( #84044 )
2022-12-15 13:59:21 +01:00
epenet
cf27b82d2f
Separate words with underscore in onewire ( #72758 )
2022-05-31 12:26:15 +02:00
epenet
08856cfab0
Remove 1-Wire SysBus (ADR-0019) ( #71232 )
2022-05-09 13:16:23 +02:00
Per Öberg
cfed1ff799
Add config flow for selecting precision of DS18B20 devices ( #64315 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-03 11:41:59 -08:00
Per Öberg
81000db713
Add support for DS2760 1-Wire TypeK Thermocouple ( #63222 )
...
* Add support for DS2760 1-Wire TypeK Thermocouple
* Add test mockup sensor for DS2760 to tests
* Add support for changing of thermocouple type through override_key
* Fix broken test for DS2760 Thermocouple
* Remove unnecessary test-attribute for DS2760 Thermocouple
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-25 13:53:37 +01:00
epenet
24e27290b5
Drop deprecated CONF_NAMES from onewire ( #61094 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:10:19 +01:00
Michael
83989d7b40
Use relative imports [L-R] ( #61575 )
2021-12-13 00:24:46 +01:00
epenet
54d55fdf88
Use list comprehension in onewire sensor descriptions ( #61157 )
...
* Add 0-3 range to constants
* Use list comprehension in sensor definitions
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-07 23:06:27 -06:00
epenet
3eba575fde
Use state class enum for Onewire ( #60770 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:42:08 +01:00
epenet
7363033ada
Use device class enum in Onewire ( #60766 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:33:26 +01:00
JumpmanJunior
d9f3cff606
Fix IAD and vis for DS2438 1wire sensor ( #59126 )
...
* Fix vis and IAD for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
* Fix IAD and vis for DS2438
2021-11-14 17:30:03 +01:00
Tim Rightnour
93395f9b68
Add support for PRESSURE_CBAR (centibars) ( #58762 )
...
* Add support for PRESSURE_CBAR (centibars). This is the standard UOM for tensiometers.
While the data could be converted into something like MBAR, and displayed
like that, the correct UOM for this type of sensor is CBAR. Displaying
it as MBAR would be the same as displaying air pressure as feet of Hg, while
technically correct, it's hard to understand when reading.
Adding support for this UOM will fix errors in the UI(statistics) about the unit not
matching a unit of the device_class.
* Add tests for PRESSURE_CBAR
2021-11-10 09:44:05 +01:00
epenet
7e81c6a591
Move onewire device compatibility checks ( #59338 )
...
* Move device compatibility checks to onewirehub
* Add test for dtoverlay warning
* Add tests for unknown device warning
* Move dtoverlay error
* Empty commit to retrigger tests
* Update description
* Patch asyncio.sleep to speed up the tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-09 18:30:05 +01:00
epenet
b85217c62e
Adjust onewire device model ( #58516 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-27 12:19:55 -05:00
epenet
c00a5fad8f
Cleanup device registration in Onewire ( #58101 )
...
* Add checks for device registry
* Move registry checks to init.py
* Run device registry check on disabled devices
* Empty commit for testing
* Register devices during initialisation
* Adjust tests accordingly
* Add via_device to device info
* Adjust access to device registry
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 11:45:40 +02:00
epenet
ccaf0d5c75
Use EntityDescription - onewire ( #55003 )
2021-08-24 10:37:59 +02:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) ( #54475 )
2021-08-12 13:26:17 +02:00
epenet
bb7236fd04
Use constants for device_info in Onewire integration ( #53724 )
2021-07-30 13:35:49 +02:00
epenet
87dab02ce6
Remove YAML configuration from onewire ( #53728 )
2021-07-29 22:12:00 -07:00
Fredrik Tuomas
a65d3868cb
Add support for EDS0066 ( #50035 )
...
* Add support for EDS0066
* Added a test
* Corrected entity_ids
* Added missing part of sensor entity id
* Add type hint
* Update tests/components/onewire/const.py
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* Update tests/components/onewire/const.py
Co-authored-by: jan iversen <jancasacondor@gmail.com>
* Revert "Update tests/components/onewire/const.py"
This reverts commit 4a01b89868
.
* Revert "Update tests/components/onewire/const.py"
This reverts commit 151eb9c0d3
.
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2021-05-20 15:39:34 +02:00
epenet
d6c99a3db9
Enable strict type checks for onewire ( #50422 )
2021-05-11 17:28:17 +02:00
epenet
dc29087416
Deprecate onewire YAML configuration ( #50151 )
2021-05-07 15:46:23 +02:00
epenet
5d5122c2a4
Fix unique_id issue on onewire config entries ( #50161 )
2021-05-07 14:21:03 +02:00
epenet
5dd59415a8
Drop OWFS support in onewire ( #50121 )
2021-05-05 21:14:20 +02:00
epenet
86176f1bf9
Add retry mechanism on onewire sysbus devices ( #48614 )
...
* Add retry mechanism on sysbus
* Update tests
* Move to async
* Move blocking calls on the executor
2021-04-03 23:08:35 +02:00
Franck Nijhof
3aed84560f
Merge of nested IF-IF cases - O-R ( #48371 )
2021-03-27 10:38:57 +01:00
Erik Montnemery
a09c8eecb7
Fix some sensor classes ( #48254 )
...
* Fix some sensor classes
* Tweak
* Tweak
2021-03-23 15:56:33 +01:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity ( #48214 )
2021-03-22 19:46:46 +01:00
Sami Heino
ee8d88e85c
Add support for EDS0068 onewire sensor ( #44029 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-01-26 23:07:04 +01:00
epenet
55edc9f858
Cleanup unique_id on onewire integration ( #43783 )
...
* Update construction of unique_id
* Move shared logic into OneWireBaseEntity
2020-12-02 15:11:20 +01:00
epenet
7716740c18
Update inheritance for onewire entities ( #43019 )
2020-11-09 23:21:16 +01:00
epenet
c7cdad2b5a
Default some entities to disabled ( #42797 )
2020-11-04 10:08:50 +01:00
epenet
79b10a8efd
Update definition of onewire device specifications ( #42460 )
...
* Update definition of device specifications
* If set, sensor_name doesn't need to be capitalized
2020-11-03 18:12:01 +01:00
epenet
8fabb99b2e
Cleanup local imports on onewire integration ( #42689 )
2020-10-31 15:08:26 -05:00
epenet
08342a1e05
Move onewire entity classes to separate module ( #42445 )
2020-10-27 14:34:25 +01:00