def async_set_bool(hass, ihc_controller, ihc_id: int, value: bool):
    """Set a bool value on an IHC controller resource."""
    return hass.async_add_executor_job(
        ihc_controller.set_runtime_value_bool, ihc_id, value
    )