I just thought of this idea for a one-directional tri-state level shifter that does not need an output-enable pin:
The idea is that if the input A driven hard (high or low) then it just behaves as a buffer, but that if the input is tristate then the comparators have opposite outputs and the output Y is tristate.
If the input is weakly driven or has other pull resistors then you might not be sure if the output will end up driven or tristate. You can fight against this by making the input resistors stronger, at the expense of wasting power.
Might something like this actually work? Does it already exist and what is it called?
Edit: I had hoped this was already clear from the above (and two of the three answer authors already correctly understood it) but to clarify:
When I said "one-directional" I mean I want something where the input is an input only, and the output is an output only. I know about bi-directional level shifters, that isn't what I want.
When I said "tri-state", I mean that I want something where the output is driven hard high (1), hard low (0), or is turned off completely without any pull (Z). I am aware of weak-drive open-drain I2C level shifters, this isn't what I want.
Finally when I said "without an enable pin" I meant without a second input pin that switches from driven output to high-impedance. I am aware that some bi-directional level shifters have a pin to select direction, this isn't the pin that I am trying to eliminate.