Sybren A. Stüvel
97c1c34708
Add support for TMP1075 temperature sensor ( #4776 )
...
* Add support for TMP1075 temperature sensor
TMP1075 is a temperature sensor with I2C interface in industry standard
LM75 form factor and pinout.
https://www.ti.com/product/TMP1075
Example YAML:
```yaml
sensor:
- platform: tmp1075
name: TMP1075 Temperature
id: radiator_temp
update_interval: 10s
i2c_id: i2c_bus_1
conversion_rate: 27.5ms
alert:
limit_low: 50
limit_high: 75
fault_count: 1
polarity: active_high
```
* Add myself as codeowner of the TMP1075 component
* Include '°C' unit when logging low/high limit setting
* Reformat
No functional changes.
* Fix logging: use %.4f for temperatures, not %d
* Fix config initialisation
* Use relative include for `tmp1075.h`
* Apply formatting changes suggested by script/clang-tidy for ESP32
* Add YAML to test1.yaml
* Fix test1.yaml by giving TMP1075 a name
* Less verbose logging (debug -> verbose level)
* Schema: reduce accuracy_decimals to 2
* I2C address as hexadecimal
* Proper name for enum in Python
The enum on the C++ side was renamed (clang-tidy) but I forgot to take that
into account in the Python code.
* Expose 'alert function' to the code generator/YAML params and remove 'shutdown'
Shutdown mode doesn't work the way I expect it, so remove it until someone
actually asks for it.
Also 'alert mode' was renamed to 'alert function' for clarity.
* Move simple setters to header file
* Remove `load_config_();` function
2023-05-26 00:01:21 -05:00
..
2023-01-26 12:06:46 +13:00
2023-03-07 20:47:25 +00:00
2022-09-15 11:54:33 +12:00
2022-01-23 20:47:22 +13:00
2023-05-10 16:37:21 +12:00
2023-02-20 03:22:37 +00:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2023-01-26 17:20:45 +13:00
2022-11-23 10:32:51 +13:00
2022-10-04 10:45:06 +13:00
2022-10-04 10:45:06 +13:00
2023-04-27 13:24:42 +12:00
2022-09-15 11:53:22 +12:00
2023-02-19 21:13:40 +00:00
2023-05-25 16:49:52 -05:00
2022-11-23 10:32:51 +13:00
2023-05-11 11:33:59 +12:00
2023-05-16 08:24:03 +12:00
2023-03-30 01:08:31 +00:00
2023-03-08 01:15:49 +00:00
2023-05-01 11:09:01 +12:00
2022-11-24 13:12:55 +13:00
2021-11-08 07:24:52 +13:00
2023-02-10 07:40:04 +13:00
2022-01-25 08:56:36 +13:00
2022-01-25 08:56:36 +13:00
2023-04-12 08:33:15 +00:00
2022-02-19 15:49:20 +01:00
2022-01-23 22:21:54 +13:00
2023-04-20 03:53:35 +00:00
2023-04-13 01:48:29 +00:00
2023-02-20 02:48:59 +00:00
2022-09-15 11:53:22 +12:00
2022-09-15 11:53:22 +12:00
2023-05-02 09:25:10 +12:00
2023-05-12 04:28:24 +12:00
2023-05-12 04:28:24 +12:00
2022-02-18 10:39:59 +13:00
2023-03-26 21:48:56 +00:00
2023-01-26 12:09:38 +13:00
2023-03-20 03:38:41 +00:00
2023-03-26 22:50:33 +00:00
2022-09-15 11:53:22 +12:00
2023-01-26 12:11:10 +13:00
2022-12-23 10:39:44 +13:00
2022-12-23 10:24:46 +13:00
2023-04-20 03:53:35 +00:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-11-16 15:46:33 +13:00
2023-03-20 03:38:41 +00:00
2022-12-13 13:44:52 +13:00
2023-04-27 13:11:32 +12:00
2022-01-10 11:47:19 +13:00
2022-01-25 08:56:36 +13:00
2023-03-12 20:26:27 +00:00
2022-01-25 08:56:36 +13:00
2023-04-23 20:51:32 +00:00
2023-05-24 07:52:34 +12:00
2023-03-20 03:38:41 +00:00
2021-10-28 20:58:48 +02:00
2022-08-25 16:12:45 +12:00
2023-03-20 04:22:22 +00:00
2023-04-23 20:51:32 +00:00
2023-02-20 03:22:37 +00:00
2022-11-24 13:12:55 +13:00
2022-11-23 10:32:51 +13:00
2022-01-25 08:56:36 +13:00
2022-10-19 20:29:22 +13:00
2022-11-24 13:12:55 +13:00
2023-03-20 03:38:41 +00:00
2023-05-11 08:55:05 +12:00
2023-04-27 08:03:30 +12:00
2023-02-14 21:09:07 +00:00
2022-05-10 21:22:22 +12:00
2023-04-23 20:51:32 +00:00
2023-05-01 16:01:24 +12:00
2022-01-25 08:56:36 +13:00
2022-09-15 11:53:22 +12:00
2023-05-25 16:49:52 -05:00
2023-02-07 12:17:17 +13:00
2022-09-15 11:53:22 +12:00
2023-01-17 10:36:44 +13:00
2022-02-18 10:27:20 +13:00
2023-05-18 08:41:21 +12:00
2023-01-18 10:42:43 +13:00
2022-11-24 13:12:55 +13:00
2023-04-23 20:51:32 +00:00
2023-03-20 03:38:41 +00:00
2023-04-27 12:26:06 +12:00
2023-05-02 09:25:10 +12:00
2022-12-16 10:09:07 +13:00
2023-03-20 03:38:41 +00:00
2023-03-20 03:38:41 +00:00
2023-03-08 18:23:02 +00:00
2023-03-28 06:38:56 +00:00
2022-01-25 08:56:36 +13:00
2023-01-26 12:08:55 +13:00
2022-02-18 10:27:20 +13:00
2023-03-26 22:49:09 +00:00
2023-05-24 02:20:06 -05:00
2023-03-15 07:42:33 +00:00
2023-04-27 12:26:06 +12:00
2022-01-24 10:34:34 +01:00
2023-04-19 22:10:01 +00:00
2022-11-21 11:49:30 +13:00
2023-02-23 01:22:39 +00:00
2023-05-10 11:16:14 +12:00
2022-11-23 10:32:51 +13:00
2023-02-19 19:54:03 +00:00
2023-04-12 21:28:02 +00:00
2022-02-15 12:00:12 +13:00
2022-02-15 12:00:12 +13:00
2023-04-23 20:51:32 +00:00
2023-04-27 16:34:20 +12:00
2022-08-31 17:01:36 +12:00
2023-03-07 04:25:14 +00:00
2022-02-19 14:46:27 +01:00
2022-06-21 11:27:53 +12:00
2023-05-08 12:45:12 +12:00
2022-12-06 23:25:19 +13:00
2022-11-24 13:12:55 +13:00
2023-04-12 21:18:09 +00:00
2023-01-10 16:21:55 +13:00
2023-02-23 02:05:33 +00:00
2022-11-24 13:12:55 +13:00
2022-05-19 12:50:44 +12:00
2022-09-15 11:53:22 +12:00
2022-10-25 12:12:55 +13:00
2023-03-20 03:38:41 +00:00
2023-03-20 03:38:41 +00:00
2022-09-02 13:22:34 +12:00
2023-05-22 22:28:35 +00:00
2022-09-15 11:53:22 +12:00
2022-04-11 12:45:15 +12:00
2023-03-20 03:38:41 +00:00
2023-05-10 11:38:18 +12:00
2022-02-18 10:27:20 +13:00
2023-01-18 10:42:47 +13:00
2023-01-11 14:50:01 +13:00
2022-02-18 10:27:20 +13:00
2023-01-20 13:56:26 +13:00
2023-05-01 16:18:31 +12:00
2023-05-17 16:32:20 +12:00
2023-05-26 15:50:44 +12:00
2023-05-22 23:24:17 +12:00
2023-03-08 23:03:49 +00:00
2023-05-22 08:03:21 +12:00
2023-04-11 23:45:10 +00:00
2023-01-25 14:37:01 +13:00
2021-12-31 22:08:49 +13:00
2022-08-01 13:08:19 +12:00
2022-06-03 15:39:04 +12:00
2023-02-20 03:22:37 +00:00
2023-05-24 07:51:12 +12:00
2023-03-20 03:38:41 +00:00
2023-02-20 03:22:37 +00:00
2023-05-16 23:36:02 +12:00
2023-01-10 16:06:54 +13:00
2023-02-23 01:31:35 +00:00
2022-11-24 13:12:55 +13:00
2023-03-20 03:38:41 +00:00
2022-11-07 19:00:55 +13:00
2023-03-20 03:38:41 +00:00
2023-02-13 15:53:40 +13:00
2023-05-16 08:29:00 +12:00
2023-03-20 03:38:41 +00:00
2023-03-28 06:38:56 +00:00
2023-05-10 11:38:18 +12:00
2022-11-24 13:12:55 +13:00
2023-02-19 21:13:40 +00:00
2022-02-18 10:27:20 +13:00
2023-05-02 09:51:48 +12:00
2022-01-25 08:56:36 +13:00
2023-04-22 07:41:12 +00:00
2022-02-09 08:04:44 +13:00
2022-02-18 10:27:20 +13:00
2022-02-18 10:27:20 +13:00
2022-06-08 09:58:32 +12:00
2022-02-19 09:49:45 +01:00
2022-08-31 10:07:40 +12:00
2022-09-15 18:19:41 -07:00
2022-01-25 08:56:36 +13:00
2022-01-25 08:56:36 +13:00
2022-08-07 09:56:52 +12:00
2022-01-08 21:35:55 +13:00
2023-03-20 03:38:41 +00:00
2023-02-20 03:22:37 +00:00
2023-02-20 03:22:37 +00:00
2022-02-21 12:47:03 +01:00
2023-03-20 03:38:41 +00:00
2023-03-20 03:38:41 +00:00
2022-08-31 10:07:40 +12:00
2022-08-31 10:07:40 +12:00
2022-08-31 10:07:40 +12:00
2022-10-20 16:50:39 +13:00
2023-05-17 16:29:56 +12:00
2022-06-20 12:17:20 +12:00
2023-05-26 15:50:44 +12:00
2023-02-09 07:30:19 +13:00
2023-02-14 00:34:50 +00:00
2022-01-25 08:56:36 +13:00
2022-01-25 08:56:36 +13:00
2022-09-15 11:53:02 +12:00
2023-04-27 13:17:09 +12:00
2023-04-04 02:34:14 +00:00
2022-12-22 20:14:11 +13:00
2023-05-23 15:00:33 -07:00
2023-02-21 21:48:29 +00:00
2023-05-17 16:41:53 +12:00
2023-03-20 03:38:41 +00:00
2022-09-09 00:18:02 -05:00
2022-11-24 13:12:55 +13:00
2023-03-12 20:14:00 +00:00
2022-02-21 12:23:26 +13:00
2023-05-17 16:29:56 +12:00
2022-02-18 10:27:20 +13:00
2022-09-15 11:53:22 +12:00
2023-03-08 22:35:40 +00:00
2023-05-10 11:38:18 +12:00
2023-02-10 07:40:04 +13:00
2023-04-12 02:29:06 +00:00
2022-02-18 10:27:20 +13:00
2023-05-15 23:13:17 +00:00
2023-04-20 03:54:06 +00:00
2023-02-19 21:13:37 +00:00
2023-02-07 14:08:40 +13:00
2023-03-28 06:38:56 +00:00
2023-05-01 16:00:21 +12:00
2022-12-22 18:39:25 +13:00
2023-01-18 13:00:35 +13:00
2022-06-03 15:39:04 +12:00
2023-02-14 22:45:27 +00:00
2023-02-09 22:37:31 +13:00
2023-03-20 03:38:41 +00:00
2022-02-17 21:47:31 +01:00
2023-02-10 07:40:04 +13:00
2023-03-15 22:21:10 +00:00
2023-05-01 09:24:15 +12:00
2022-11-24 13:12:55 +13:00
2022-11-24 13:12:55 +13:00
2022-08-30 10:55:55 +12:00
2023-05-23 08:43:03 +12:00
2022-09-14 10:01:28 -03:00
2022-12-23 11:07:45 +13:00
2022-02-18 10:27:20 +13:00
2022-11-24 13:12:55 +13:00
2022-09-15 11:53:22 +12:00
2022-11-24 13:12:55 +13:00
2023-03-19 18:31:05 +00:00
2022-11-16 08:12:09 +13:00
2023-03-20 03:38:41 +00:00
2022-01-26 22:20:45 +13:00
2022-02-08 16:32:37 +13:00
2022-10-04 10:45:06 +13:00
2023-04-27 10:47:45 +12:00
2022-03-29 22:05:38 +13:00
2022-11-24 13:12:55 +13:00
2023-05-01 16:12:53 +12:00
2023-03-23 18:41:14 +00:00
2022-11-24 13:12:55 +13:00
2022-02-18 10:27:20 +13:00
2023-02-19 19:54:03 +00:00
2022-11-24 13:12:55 +13:00
2022-06-07 11:36:54 +12:00
2023-05-22 10:31:27 +12:00
2023-05-24 02:19:49 -05:00
2023-01-16 14:17:57 +13:00
2022-01-25 08:56:36 +13:00
2022-02-18 10:27:20 +13:00
2023-02-19 19:54:03 +00:00
2023-03-20 03:38:41 +00:00
2023-03-20 03:38:41 +00:00
2023-02-10 07:40:04 +13:00
2022-11-24 13:12:55 +13:00
2022-06-07 22:43:46 +12:00
2022-11-24 13:12:55 +13:00
2023-03-26 20:01:35 +00:00
2023-05-16 10:28:01 +12:00
2023-02-23 00:37:23 +00:00
2023-03-31 09:05:28 +00:00
2022-11-24 13:12:55 +13:00
2023-05-15 23:13:17 +00:00
2022-01-25 08:56:36 +13:00
2023-03-20 03:38:41 +00:00
2022-04-13 10:19:48 +12:00
2022-05-19 12:47:33 +12:00
2023-05-16 08:29:00 +12:00
2022-09-15 11:53:22 +12:00
2023-03-20 03:38:41 +00:00
2022-09-15 11:53:22 +12:00
2023-02-19 19:54:03 +00:00
2023-01-18 13:42:32 +13:00
2023-02-03 07:53:46 +13:00
2022-12-07 19:27:14 +13:00
2022-12-23 11:04:21 +13:00
2022-10-27 19:27:17 +13:00
2023-05-10 11:06:26 +12:00
2022-12-23 11:04:21 +13:00
2022-12-23 11:04:21 +13:00
2022-05-10 21:05:49 +12:00
2022-07-28 11:22:49 +12:00
2023-03-08 01:11:12 +00:00
2022-12-07 07:23:07 +13:00
2022-11-14 13:29:41 +13:00
2023-05-10 11:38:18 +12:00
2022-11-23 10:32:51 +13:00
2023-05-08 10:36:17 +12:00
2022-05-19 12:50:44 +12:00
2023-04-12 01:38:41 +00:00
2023-05-18 11:36:52 +12:00
2022-04-26 09:50:36 +12:00
2023-04-12 04:02:29 +00:00
2023-04-12 04:02:29 +00:00
2021-12-02 09:03:51 +13:00
2022-06-03 15:39:04 +12:00
2022-06-03 15:39:04 +12:00
2022-09-30 19:10:53 +13:00
2022-06-03 15:39:04 +12:00
2022-06-03 15:39:04 +12:00
2022-06-03 15:39:04 +12:00
2022-10-13 08:26:28 +13:00
2023-03-20 03:38:41 +00:00
2022-02-18 10:39:59 +13:00
2023-03-15 22:21:35 +00:00
2022-11-24 11:09:19 +13:00
2022-04-13 10:19:48 +12:00
2023-05-17 16:33:08 +12:00
2023-04-23 20:44:35 +00:00
2023-04-20 03:53:35 +00:00
2023-03-26 21:59:57 +00:00
2022-05-10 17:17:55 +12:00
2022-01-25 08:56:36 +13:00
2023-03-20 03:38:41 +00:00
2023-01-18 10:43:16 +13:00
2022-11-24 13:12:55 +13:00
2023-05-04 10:16:00 +12:00
2023-03-28 06:38:56 +00:00
2023-02-09 11:28:16 +13:00
2022-11-24 13:12:55 +13:00
2023-04-23 20:51:32 +00:00
2021-12-07 07:47:48 +13:00
2022-09-08 11:40:27 +12:00
2023-03-20 03:38:41 +00:00
2023-03-20 03:38:41 +00:00
2023-05-22 22:28:35 +00:00
2022-02-18 10:27:20 +13:00
2022-02-18 10:27:20 +13:00
2023-05-26 00:01:21 -05:00
2022-02-18 10:27:20 +13:00
2023-02-20 22:31:25 +00:00
2022-11-17 13:45:58 +13:00
2022-10-11 12:22:13 +13:00
2022-02-18 10:27:20 +13:00
2023-01-18 10:17:31 +13:00
2023-05-18 11:34:18 +12:00
2022-11-24 13:12:55 +13:00
2023-05-13 15:16:28 +12:00
2022-11-24 13:12:55 +13:00
2023-05-16 11:00:05 +12:00
2022-09-13 11:17:33 +12:00
2022-09-14 16:51:20 +12:00
2022-02-18 10:27:20 +13:00
2023-03-14 00:52:19 +00:00
2023-03-20 03:38:41 +00:00
2022-02-08 17:23:45 +13:00
2023-03-20 03:38:41 +00:00
2023-05-26 15:50:44 +12:00
2023-02-19 21:13:37 +00:00
2023-05-02 09:36:20 +12:00
2023-05-01 07:28:21 +12:00
2022-11-24 13:12:55 +13:00
2023-03-20 03:38:41 +00:00
2022-08-09 10:49:03 +12:00
2023-05-17 09:30:14 +12:00
2023-05-17 16:29:21 +12:00
2023-05-17 16:29:21 +12:00
2022-02-18 10:27:20 +13:00
2022-10-19 13:44:26 +13:00
2022-01-23 20:47:22 +13:00
2023-01-11 14:51:50 +13:00
2023-03-20 03:38:41 +00:00
2021-12-13 09:15:23 +13:00
2021-12-13 09:15:23 +13:00
2021-12-13 09:15:23 +13:00
2022-02-18 10:39:59 +13:00
2021-11-08 07:24:52 +13:00
2021-11-08 07:24:52 +13:00
2021-11-08 07:24:52 +13:00
2021-12-13 09:15:23 +13:00
2021-11-08 07:24:52 +13:00
2022-01-27 12:54:29 +13:00
2021-12-13 09:15:23 +13:00
2022-11-24 13:12:55 +13:00
2022-02-18 10:39:59 +13:00
2022-02-18 10:39:59 +13:00
2022-04-12 16:19:16 +12:00
2022-02-18 10:39:59 +13:00
2023-03-20 03:38:41 +00:00
2022-01-25 08:56:36 +13:00
2021-11-26 09:02:53 +13:00