DHT22 through PCF8574 pins?

I will use the library TroykaDHT.h

I had to rewrite it completely, or rather put it into the code.

Instead
pinMode (_pin, OUTPUT); -> PCF8574.pinMode (0, OUTPUT);
digitalWrite (_pin, LOW); -> PCF8574.digitalWrite (0, LOW);
pinMode (_pin, INPUT_PULLUP); -> PCF8574.pinMode (0, INPUT_PULLUP);
digitalRead (pin); -> PCF8574.digitalRead (0);

In general, take out of the library! and completely rewrite. : :art: