The invention relates to a device for generating an electrical voltage for components of a gas-fired water heater. The inventive device comprises a heat exchanger (13), through which a water-carrying line (15) comprising an outlet valve (18) passes. A turbine of a turbine generator (30) is integrated in said line (15) and supplies electrical voltage for the components of a water heater when the outlet valve (18) is opened. The turbine of the turbine generator (30) is arranged in a bypass that leads to the line (15).
展开▼