Patent attributes
An electronic device may be provided with electronic components such as buttons and environmental sensors. An environmental sensor may be temperature sensor for gathering temperature data associated with the environment surrounding the device. The temperature sensor may be mounted to a button member for the button. The button member may be an actuating member that moves within an opening in a device housing and that extends beyond an outer surface of the housing into the surrounding environment. The button member may be arranged so that an internal electronic switch is activated when the button member is moved within the opening. The button member may be thermally isolated from other device structures using insulating material on the button member. The button member may be formed from a thermally conductive material that transmits the temperature of environmental materials that contact the button member to the temperature sensor.