Central bearded dragon

Environmental temperature can affect the sex of hatched lizards.

An excerpt from the article 19 facts about central bearded dragon

At temperatures above 32 degrees Celsius, some males may hatch as females. Despite having two male chromosomes (ZZ), they are completely capable of reproduction and sometimes lay even more eggs than genetic females (ZW).