What does deity mean?

You are correct!

From our dictionary:

de•i•ty

Pronunciation: (dE'i-tE), [key]
n.,
pl. -ties.

1. a god or goddess.
2. divine character or nature, esp. that of the Supreme Being; divinity.
3. the estate or rank of a god: The king attained deity after his death.
4. a person or thing revered as a god or goddess: a society in which money is the only deity.
5. the Deity,God; Supreme Being.