Installing an aqara fp300 in zigbee mode in home assistant

I am new to HA and seeking assistance in loading the aqara fp300 sensor into home assistant in zigbee mode. It loads just fine but only show sensors for temperature, humidity and illuminance. I have tried installin the quirk but that des not work. Got nowhare with CoPilot or ChatGPT.

Hi Keith, welcome to HA (and Zigbee!)

As you already noted, the additional functionality requires the quirk for it to show up in ZHA.
Are you using this quirk https://gist.github.com/cemizm/037f02827f5818baa77749876205943c ?

As it’s not in Home Assistant yet, you have to add it manually, and a couple of small setup details might be tripping you up:

  1. It only applies to newly-added devices. If your FP300 was already paired before you added the quirk file, Home Assistant won’t automatically re-check it against the new quirk. You’ll need to remove the device from ZHA and pair it again after the quirk is in place. I experienced this myself when I first started applying quirks.
  2. Two settings are needed in configuration.yaml, not just the quirk file itself (note that if you already have a zha: section, you must add this info in that same section):

yaml

   zha:
     enable_quirks: true
     custom_quirks_path: /config/zha_quirks/

adjust the path to wherever you put the quirk file, followed by a full Home Assistant restart - not just a reload of ZHA.

Hope this helps!

is this the correct file i need to edit??