That is probably worth changing. Of course, the trade-off is, the more often it sends updates the quicker the battery will need to be replaced. I have one of these sensors, and in my case, I care more about light levels and I changed it’s % from the default of 10 down to 5.
Another thing you can do is to enhance the automation so it will turn the switch on when HA starts if the sensor is already above 50. You’d do that like this:
- id: '1573007973743'
alias: Bathroom Fan On
description: ''
trigger:
- above: 50
entity_id: sensor.zooz_zse40_4_in_1_sensor_relative_humidity
platform: numeric_state
- event: start
platform: homeassistant
condition:
- above: 50
condition: numeric_state
entity_id: sensor.zooz_zse40_4_in_1_sensor_relative_humidity
action:
- device_id: 456c8971e6be46c8ae6f3a4d4a6eb014
domain: switch
entity_id: switch.jasco_products_unknown_type_4952_id_3135_switch_2
type: turn_on
This automation will fire as before, but also when HA starts. In either case, the action will only run if the sensor is above 50 at that time.