Onewire with owfs

so im trying to get onewire to work on home assistant but nothing ive done works.
onewire is working and the temperature readings is stored in “/mnt/1wire/”.

so i edited the configuration.yaml with

sensor:

  • platform: onewire
    names:
    28.39BDE2080000: temperature
    mount_dir = “/mnt/1wire”

(does not work)

i also tried editing configuration.yaml with:
sensor:

  • platform: onewire

and in /boot/config.txt I added
dtoverlay=w1-gpio
(didnt get any sensor values in w1 folder just some other folders)

what am i doing wrong?