mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add internal_temperature component (#4330)
* Add cpu_temperature component * Add tests * Fix formatting * Possible fix for "sensor not shown in HomeAssistant" * Rename component to internal_temperature * Update esphome/components/internal_temperature/internal_temperature.cpp Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> * Update esphome/components/internal_temperature/internal_temperature.cpp Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> * Update esphome/components/internal_temperature/internal_temperature.cpp Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> * Update internal_temperature.h * Remove unique_id * Update ESP32 variant detection --------- Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
This commit is contained in:
		| @@ -324,6 +324,8 @@ mcp23s17: | ||||
|     deviceaddress: 1 | ||||
|  | ||||
| sensor: | ||||
|   - platform: internal_temperature | ||||
|     name: "Internal Temperature" | ||||
|   - platform: ble_client | ||||
|     type: characteristic | ||||
|     ble_client_id: ble_foo | ||||
|   | ||||
| @@ -373,6 +373,8 @@ select: | ||||
|       "Three": 3 | ||||
|  | ||||
| sensor: | ||||
|   - platform: internal_temperature | ||||
|     name: "Internal Temperature" | ||||
|   - platform: selec_meter | ||||
|     total_active_energy: | ||||
|       name: SelecEM2M Total Active Energy | ||||
|   | ||||
| @@ -37,3 +37,7 @@ switch: | ||||
|   - platform: output | ||||
|     output: pin_4 | ||||
|     id: pin_4_switch | ||||
|  | ||||
| sensor: | ||||
|   - platform: internal_temperature | ||||
|     name: "Internal Temperature" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user