def print_temperature(conn, settings, uid): from tinkerforge.bricklet_temperature import BrickletTemperature br = BrickletTemperature(uid, conn) print_generic( settings, "temperature", br.get_identity(), 0.01, "\N{DEGREE SIGN}C", br.get_temperature() )
def print_temperature(conn, settings, uid): from tinkerforge.bricklet_temperature import BrickletTemperature # type: ignore[import] # pylint: disable=import-error,import-outside-toplevel br = BrickletTemperature(uid, conn) print_generic(settings, "temperature", br.get_identity(), 0.01, u"\N{DEGREE SIGN}C", br.get_temperature())