Conditioning on Yolink states

I’m using auto-entities (what wonderful software!) and would like to exclude yolink moisture sensors reporting dry (and motion sensors reporting clear). I’ve tried code like

      exclude:
        - entity_id: '*led*'
        - state: unavailable
        - domain: binary_sensor
          attributes:
            state: "dry"

and many other combinations, including moisture: “Dry” as Dry is reported as the outcome of moisture, and none actually exclude. These sensors report battery life and temperature as well. How do I reference these conditions? The same problem applies to automation, although there state change seems to work. Moisture: Dry shows up in the card output when I list the entity, so there must be some way of referencing it.

I’m not sure why posting so often leads me to solve my issue a few minutes later. In any case, here is the code that worked for anyone that is searching for the same thing:

        - domain: binary_sensor
          state: 'off'

Embarrassingly easy.